Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Examines the syntax of each Transact-SQL statement and returns any error messages without compiling or executing the statement.
Transact-SQL Syntax Conventions
Syntax
SET PARSEONLY { ON | OFF }
Remarks
When SET PARSEONLY is ON, 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
Requires membership in the public role.
See Also
Reference
SET (Transact-SQL)
SET OFFSETS (Transact-SQL)