Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Database
Azure SQL Managed Instance
Azure Synapse Analytics
Analytics Platform System (PDW)
SQL analytics endpoint in Microsoft Fabric
Warehouse in Microsoft Fabric
Examines the syntax of each Transact-SQL statement and returns any error messages without compiling or executing the statement.
Transact-SQL syntax conventions
SET PARSEONLY { ON | OFF }
[ ; ]
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.
Don't use PARSEONLY
in a stored procedure or a trigger. SET PARSEONLY
returns offsets if the OFFSETS
option is ON
and no errors occur.
Requires membership in the public role.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today