| title | getWarnings Method (SQLServerResultSet) |
|---|---|
| description | getWarnings Method (SQLServerResultSet) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerResultSet.getWarnings |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves the first warning reported by calls on this SQLServerResultSet object.
Note
This method is not currently supported by the [!INCLUDEjdbcNoVersion]. If called this method will always return a null value.
public java.sql.SQLWarning getWarnings()
An SQLWarning object.
This getWarnings method is specified by the getWarnings method in the java.sql.ResultSet interface.