To Check Sql jdbc driver version

senthil madhan 1 Reputation point
2022-01-19T15:58:53.47+00:00

HI Team,
We are using SQL server "Microsoft SQL Server 2017 - 14.0.3370 as our Database .1".For Integrating with informatica the below jdbc version has to be installed in my machine.
sqljdbc_4.2.8112.200
sqljdbc_6.0.8112.200.

I am not sure what is the jdbc version I am running with now ,Could you please help us in knowing what is the version deployed in my machine?

Thanks
Senthil Madhan T

SQL Server | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Tom Phillips 17,771 Reputation points
    2022-01-19T17:17:12.507+00:00
    0 comments No comments

  2. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2022-01-20T01:50:04.537+00:00

    Hi @senthil madhan ,

    The version of the installed Microsoft JDBC Driver for SQL Server can be found in the following ways:

    •Call the SQLServerDatabaseMetaData methods getDriverMajorVersion, getDriverMinorVersion, or getDriverVersion.
    •The version is displayed in the readme.txt file of the product distribution.

    Also, the JDBC driver name can be returned from the getDriverName method call on the SQLServerDatabaseMetaData class. It will return, for example, "Microsoft JDBC Driver 6.4 for SQL Server".

    Refer to MS document Getting the driver version to get more.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.