validating a query before executing.

  • How can I validate a query before executing the query. I want to simulate the "Parse Query" option of Query Analyzer

  • SET PARSEONLY  ON

    When SET PARSEONLY is ON, Microsoft® SQL Server™ only parses the statement but does nto execute it.

    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.


    Julian Kuiters
    juliankuiters.id.au

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply