title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | apilocation | apiname | apitype |
---|---|---|---|---|---|---|---|---|---|---|
getDate Method (java.lang.String) column |
getDate Method (java.lang.String) (SQLServerResultSet) |
David-Engel |
davidengel |
01/19/2017 |
sql |
connectivity |
reference |
sqljdbc.jar |
SQLServerResultSet.getDate (java.lang.String) |
Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the value of the designated column name in the current row of this SQLServerResultSet object as a java.sql.Date object in the Java programming language.
public java.sql.Date getDate(java.lang.String columnName)
columnName
A String that contains the column name.
A Date object.
This getDate method is specified by the getDate method in the java.sql.ResultSet interface.
This method returns a valid date part of a [!INCLUDEssNoVersion] datetime or smalldatetime data type, with the time part set to the Java time baseline of 00:00 (midnight).
getDate Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class