Article ID: 216643 - Last Review: December 22, 2004 - Revision: 5.2 ODBC/OLEDB connect options not seen when tracing connections to SQL ServerThis article was previously published under Q216643 SUMMARY
When tracing an ODBC connection to previous versions of SQL Server, you would see the following SET statements issued at connect time:
SET QUOTED_IDENTIFIER ON SET TEXTSIZE 2147483647 SET ANSI_DEFAULTS ON SET CURSOR_CLOSE_ON_COMMIT OFF SET IMPLICIT_TRANSACTIONS OFF MORE INFORMATION
Versions of the ODBC driver that were created before SQL Server 7.0 (such as the SQL Server 2.65 driver) do not know of the existence of the connection flag. Therefore, if you are using an older version of the driver to connect to SQL Server, you will still see the explicit SET statements being issued. You can verify the current set options for any connection by selecting the @@options global variable and comparing the value returned with the options listed in the "user options Option" topic in SQL Server Books Online. For more information, please see the following article in the Microsoft Knowledge Base: 156498
(http://support.microsoft.com/kb/156498/EN-US/
)
INF: How to Determine the Current Settings for @@options
| Article Translations
|
Back to the top
