Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.54 KB

sqlsetconnectoption-function.md

File metadata and controls

36 lines (31 loc) · 1.54 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic f1_keywords helpviewer_keywords apilocation apiname apitype
SQLSetConnectOption Function
SQLSetConnectOption Function
David-Engel
davidengel
01/19/2017
sql
connectivity
reference
SQLSetConnectOption
SQLSetConnectOption function [ODBC]
sqlsrv32.dll
SQLSetConnectOption
dllExport

SQLSetConnectOption Function

Conformance
Version Introduced: ODBC 1.0 Standards Compliance: Deprecated

Summary
In ODBC 3*.x*, the ODBC 2.0 function SQLSetConnectOption has been replaced by SQLSetConnectAttr. For more information, see SQLSetConnectAttr.

Note

For more information about what the Driver Manager maps this function to when an ODBC 2*.x* application is working with an ODBC 3*.x* driver, see Mapping Deprecated Functions".

Remarks

See ODBC 64-Bit Information, if your application will run on a 64-bit operating system.

Note

The attribute SQL_ASYNC_DBC_FUNCTION_ENABLE introduced in ODBC 3.8 is not supported by SQLSetConnectOption. Applications that use the asynchronous operation on connection handle must use SQLSetConnectAttr.

See Also

ODBC API Reference
ODBC Header Files