Retrieves the current or default settings for an active connection.

SQLGETPROP(nStatementHandle, cSetting)



Specifies the statement handle to the data source returned by SQLCONNECT( ). If you specify 0 for nStatementHandle, SQLGETPROP( ) returns the environment setting.


Specifies the setting. For a list of the settings you can specify, see SQLSETPROP( ) Function.

Expand imageReturn Value

Expand imageExample

Expand imageSee Also