Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to make the Driver downward compatible (connect to SQL Server 6.5)?

0
Posted

How to make the Driver downward compatible (connect to SQL Server 6.5)?

0

To make the Driver connect to an MS SQL 6.5 server, set the “serverVersion” properties as “Sql6.5”. Example: Properties x = new Properties(); x.put(“user”,”scott”);// set username x.put(“password”,”tiger”)//set the password x.put(“serverVersion”,”Sql6.5″);// the server version to connect String url= “jdbc:AvenirDriver://serverName:1433/Database”; // URL Class.forName (“net.avenir.jdbc2.Driver”);// Register the Driver Connection conn = DriverManager.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123