Which jar to use for connecting to MS SQL server

Amit picture Amit · Mar 19, 2010 · Viewed 47k times · Source

Can some one please guide me to understand which jar file i need to include in my application to be able to set up a jdbc connection with ms sql server.

thanks in advance.

Answer

kevchadders picture kevchadders · Mar 19, 2010

sqljdbc.jar and sqljdbc4.jar class library files to be used depending on your preferred Java Runtime Environment (JRE) settings. For more information about which JAR file to choose, see System Requirements for the JDBC Driver.

Downloads links and more information can be found here.