Export (0) Print
Expand All

SET PARSEONLY

SQL Server 2000

Checks the syntax of each Transact-SQL statement and returns any error messages without compiling or executing the statement.

Syntax

SET PARSEONLY { ON | OFF }

Remarks

When SET PARSEONLY is ON, Microsoft® SQL Server™ only parses the statement. When SET PARSEONLY is OFF, SQL Server compiles and executes the statement.

The setting of SET PARSEONLY is set at parse time and not at execute or run time.

Do not use PARSEONLY in a stored procedure or a trigger. SET PARSEONLY returns offsets if the OFFSETS option is ON and no errors occur.

Permissions

SET PARSEONLY permissions default to all users.

See Also

SET

SET OFFSETS

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft