Connection of JDBC to SQL Server 2000
843854Sep 18 2003 — edited Sep 19 2003How can i connect jdbc to sql server 2000? i hv some problem of running these code.
// Get connection
DriverManager.registerDriver(new
com.microsoft.jdbc.sqlserver.SQLServerDriver());
Connection connection = DriverManager.getConnection(
"jdbc:microsoft:sqlserver://<Host>:1433",<"UID>","<PWD>");
wat the meaning of
"jdbc:microsoft:sqlserver://<Host>:1433",<"UID>","<PWD>");
after running i got the error of **package com.microsoft.jdbc.sqlserver does not exist**
Can you explain wats the errors? Thanks.