Connect to SQLServer using Windows 10?

0

I'm using Windows 10 and I have to connect to a SQLServer 2000 database using the command line in a java application. But I'm getting an error.

 run:
ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
SQLException: No suitable driver found for jdbc:microsoft:sqlserver:

Is it possible for windows 10 systems to connect to the old database like SQLServer 2000

In a java class, made in NETBEANS I gave this command:

 con = DriverManager.getConnection("jdbc:microsoft:sqlserver://servido:1433","sa","senha");
    
asked by anonymous 25.04.2016 / 14:04

1 answer

0

I think the jtds drive will help you, I already used it to connect in 2000.

link

    
05.05.2016 / 03:52