ODBC/OLEDB connect options not seen when tracing connections to SQL Server (216643)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This 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
When connecting to SQL Server through ODBC or OLE-DB, all of these options, excluding TEXTSIZE, are set by means of a connection flag that tells SQL Server if it is an ODBC or OLEDB connection and will not be seen in any trace output generated using SQL Server Profiler. Although you do not explicitly see the options being set when tracing the server, they are in effect for the connection. In addition, the CONCAT_NULL_YIELDS_NULL option (new in SQL Server 7.0) is set ON. You will still see TEXTSIZE being set when tracing SQL Server.
Modification Type: | Major | Last Reviewed: | 12/22/2004 |
---|
Keywords: | kbinfo KB216643 |
---|
|