Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.4 KB

File metadata and controls

24 lines (20 loc) · 1.4 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords apitype
SQLSetEnvAttr
SQLSetEnvAttr
markingmyname
maghan
03/16/2017
sql
native-client
reference
SQLSetEnvAttr function
DLLExport

SQLSetEnvAttr

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

The ODBC Programmer's Reference defines how ODBC drivers should interpret the SQLSetEnvAttr attribute specifications from applications written to either the ODBC 2.x or ODBC 3.x API. The [!INCLUDEssNoVersion] Native Client ODBC driver complies with those rules.

One of the attributes controlled by SQLSetEnvAttr is whether connection pooling is to be used. If connection pooling is used with the [!INCLUDEssNoVersion] Native Client ODBC driver, the DriverCompletion parameter must be set to SQL_DRIVER_NOPROMPT when connecting with either SQLDriverConnect or SQLConnect.

See Also

SQLSetEnvAttr Function
ODBC API Implementation Details