Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.51 KB

File metadata and controls

49 lines (39 loc) · 1.51 KB
title getDatabaseProductVersion Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.suite sql
ms.technology connectivity
ms.tgt_pltfrm
ms.topic conceptual
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