Learn more about Toad for SQL Server
at Dell Software

Find solutions and downloads at the
Toad for SQL Server Support Portal

Toad for SQL Server 6.6

You are here: Edit SQL > Create and Edit SQL > Validate Syntax

Validate Syntax

Prior to executing SQL statements you can:

To check SQL syntax

» Select the block of code in the Editor, and click .

To verify SQL

» Select the block of code in the Editor, and click .

Caution When possible, Toad undoes any changes to the object and data in the database after executing the script (notice that the Result Sets tab is empty). However, Verify SQL cannot rollback statements that use implicit commits, such as CREATE table and DROP database. For those statements, the object remains/is removed from the database when you verify the SQL statement.  

Note: The script is automatically checked for syntax errors when opening a script, executing current statement (F9), checking syntax, changing database or refreshing the Script Map. The syntax errors are listed in the Script Results pane in the Messages tab.

 

Related Topics

of