Home
SQL Spreadsheets online help Prev Page Prev Page
Introduction
About SQL Spreadsheets
Version history
Contact us
Supported database engines
Using SQL Spreadsheets
Home page
SQL workbench
Command selection
Data sets
Exporting data sets
Exporting to text files
Exporting to Excel
Define column formats
Tasks
Task settings
DATETIME tag formatting options
Connect to database
Conecting to databases directly without client libraries installed
Connecting to an Oracle database
SQL scripts
SQL tags
Image and file options
Define column formats
Delivery channels
Logging options
Finalise
Run task
Scheduling a task
Options

Command selection

SQL Spreadsheets's editor uses an intuitive command selection method to aid you in quickly running SQL commands. You can keep multiple queries in the editor, you can use blank rows as delimiters, and you can run queries without having to explicitly select them.

To see how SQL Spreadsheets determines which command to run, how a look at the following example:

command01a  
 
When the caret is placed anywhere on lines 1 to 5, and you click execute (Execute), SQL Spreadsheets will select and run the text on lines 1 to 4.

When the caret is placed anywhere on lines 6 to 7, and you click execute (Execute), SQL Spreadsheets will select and run the text on line 6.

When the caret is placed anywhere on lines 8 to 14, and you click execute (Execute), SQL Spreadsheets will select and run the text on lines 8 to 12.