且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法使用NetBeans IDE连接到Java中的SQL Server 2000

更新时间:2022-11-30 20:56:39

SQL Server 2000的连接字符串应类似于:
The connection string for SQL Server 2000 should be something like:
jdbc:microsoft:sqlserver://localhost:1433;user=mahnoosh;password=wibbleHatStand


据我所知,您不能使用DatabaseName属性.


You can''t use the DatabaseName attribute as far as I know.


感谢所有
我使用"sun.jdbc.odbc.JdbcOdbcDriver"
而且有效
Thanks all
I use "sun.jdbc.odbc.JdbcOdbcDriver"
and it works