文档介绍:作者:sonymusic
email: sonymusic@
日期:7/7/2001 11:07:13 PM
//这个例子,是从SUN的站点上找来的。当时也找了好久啊。呵呵!
// accepts sql statments mand line
import .*;
import .*;
public class test {
public static void main(String args[]){
try
{
("");
Properties prop = new Properties();
("user", "");
("password","");
("charSet","gb2312");
Connection conn=("jdbc:odbc:chinese",prop);
Statement stmt=();
(args[0]);
}
catch(ClassNotFoundException e)
{
// (null,"Unable To Load The Driver Class","Login Message", );
}
catch(SQLException e)
{
();
(());
}
}
}