October 2002
Beginner
864 pages
18h 41m
English
Transact-SQL provides a list of SET commands that enable you to turn on various options that help you analyze Transact-SQL statements. Here are some of the popular SET commands:
SET STATISTICS IO ON tells the server to return the number of logical and physical page requests.
SET STATISTICS TIME ON tells the server to display the execution time of a SQL statement.
SET SHOWPLAN ON tells the server to show the execution plan for the designated query.
SET NOEXEC ON tells the server to parse the designated query, but not to execute it.
SET PARSONLY ON tells the server to check for syntax for the designated query, but not execute it.
Transact-SQL also has the following commands that help to control what is displayed ...
Read now
Unlock full access