
Add the related jar file to your java project build path.After download and extract, you can locate the Microsoft SQL Server JDBC driver jar file in the extracted folder ( such as \sqljdbc_9.2.1.0_enu\sqljdbc_9.2\enu ).Add The JDBC Driver Jar Into Java Project. After you download the file, unzip it to a local folder like below.

Click here to get the latest version of the SQL Server JDBC driver.Download Microsoft SQL Server JDBC Driver File. But before this, you should download and install the Microsoft SQL Server JDBC driver first.jdbc:sqlserver://serverName\ serverIP:portNumber databaseName=dbName integratedSecurity=false user=sa password=sa If setting it to false means login SQL server uses SQL server account, you should provide username and password in this case like below.If you set the parameter integratedSecurity value to true, it means that you log in to the SQL Server using windows authentication.

