getWarnings Method (SQLServerConnection)
Retrieves the first warning reported by calls on this SQLServerConnection object.
Syntax
public java.sql.SQLWarning getWarnings()
Return Value
A SQLWarning object.
Exceptions
Remarks
This getWarnings method is specified by the getWarnings method in the java.sql.Connection interface.
Subsequent warnings are chained to the first SQLWarning and called with the getNextWarning method. If called on a closed connection, an exception will be thrown.
See Also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for