The information in this article applies to:
SUMMARY
Microsoft SQL Server version 4.21 (and later versions) provides a -T3640
flag that provides stored procedure performance enhancements. The flag
optimizes stored procedure execution time because it suppresses the sending
of individual statement completion information, which reduces network
traffic and has a significant effect on stored procedure execution time,
especially in wide area network (WAN) environments.
MORE INFORMATION
In an ODBC application using the Microsoft ODBC SQL Server Driver to
communicate with a SQL Server that is running with the -T3640 flag enabled,
the ODBC API call, SQLRowCount(), will not be able to provide the number of
rows affected after a statement is prepared as a procedure using
SQLPrepare() and then executed using SQLExecute.
No other error message will be returned. With the -T3640 flag enabled, SQL Server is unable to return the number of rows updated in response to the ODBC API call SQLRowCount(). Other ODBC- enabled applications, whose proper operation depend the number of rows affected by an ODBC SQL query returning from SQLRowCount(), will encounter similar problems. However, if the -T3640 flag is not used, this problem will not occur. Additional query words: sql6 Windows NT
Keywords : kbinterop ODBC SSrvWinNT |
Last Reviewed: March 19, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |