Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.45 KB

File metadata and controls

46 lines (36 loc) · 1.45 KB
title getDatabaseProductVersion Method (SQLServerDatabaseMetaData) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDatabaseMetaData.getDatabaseProductVersion
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 19c0c15d-223f-45bd-a215-2867dfefecb0
author MightyPen
ms.author genemi
manager jroth

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