sql server 2008 驱动语句?
driver 和url 都写上谢谢
sql?server
url
多发点
3
5
------解决方案--------------------Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String url = "jdbc:sqlserver://localhost:1443;DatabaseName=test;user=sa;password=123456";
con = DriverManager.getConnection(url);