Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.55 KB

File metadata and controls

52 lines (42 loc) · 1.55 KB
title getDatabaseProductVersion Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerDatabaseMetaData.getDatabaseProductVersion
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 19c0c15d-223f-45bd-a215-2867dfefecb0
caps.latest.revision 7
author MightyPen
ms.author genemi
manager craigg

getDatabaseProductVersion Method (SQLServerDatabaseMetaData)

[!INCLUDEDriver_JDBC_Download]

Retrieves the version number of this database product.

Syntax

  
public java.lang.String getDatabaseProductVersion()  

Return Value

A String that contains the database product version number.

Exceptions

SQLServerException

Remarks

This getDatabaseProductVersion method is specified by the getDatabaseProductVersion method in the java.sql.DatabaseMetaData interface.

See Also

SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members
SQLServerDatabaseMetaData Class