Execute All

The Execute All option executes all SQL statements in the query editor.

The Execute All option requires the SQL statements to be separated the statement separator defined in the preferences. The default statement separator is the semi-colon (;).

The Execute All option sends multiple queries or statements to the database. If there is no highlighted text, RazorSQL determines which statements to send based on the statement separator value defined in the preferences. The default statement separator is a semi-colon. Each statement should be separated with the statement separator when using this option. If there is highlighted text in the editor, RazorSQL will only parse the highlighted text for statement separators.

Once RazorSQL parses the contents of the editor and determines all of the queries to execute, each query will be sent to the database separately. By default, if an error occurs, execution halts and no more queries are executed. This behavior can be changed in the preferences.