Toad provides an intuitive and efficient way to write, run, and test your SQL and PL/SQL code. Toad supports efficient code management for a single developer or a whole team of developers.
Toad provides an intuitive and efficient way to write, run, and test your SQL and PL/SQL code. Toad supports efficient code management for a single developer or a whole team of developers.
Through SQL Recall, you can save any SQL statement to your Toad environment so that it can be reused. If statements are not saved, they are eventually discarded as new statements are executed and added to the list.
To view the SQL Recall pane
From the main Toad menu bar, select View | SQL Recall (F8).
Statements can be saved in two ways:
Named: The best way to save SQL statements is to save them as Named SQL. When a statement has a name, you can:
Statements are saved under categories. Categories enable you to organize your statements, for example by application or type of data. Toad provides a Default category which contains any statements not placed in a specific named category.
To save a statement without naming it
To save a SQL statement as Named SQL
Do one of the following, depending on where the statement is displayed:
Editor: In the Toad toolbar, select Editor | Add to Saved SQLs.
SQL Recall: If the statement is still in the Recent tab, click Add to Saved to move it to the Saved tab. Once a statement is on the Saved tab, right-click the statement, then select Properties.
To open a Named SQL statement in the Editor
Once a saved SQL statement (named or unnamed) is open in the Editor, you can:
Toad allows you to export and import saved SQL. Import/Export Saved SQL.
You can export your saved SQL from SQL Recall for use by others, and you can import saved SQL into your own Toad environment.
You can export your recent statements, your saved statements, or both, or you can select specific categories or statements to export.
Note: This feature was introduced in Toad 11, and consequently you can only import these files with Toad 11 and later versions.
To export saved SQL
Click on the SQL Recall toolbar.
Tip: You may need to expand the SQL Recall pane to see the button.
Under Statements, select the types of statements to export*:
All: export all statements from Recent and Saved tabs.
Recent: export only the statements on the Recent tab.
Saved: export only the statements on the Saved tab.
Selected: export only the statements that you explicitly select.
Under Format, select the output format:
SQL Recall data file: Save as the file type used by Toad to store recent and saved statements.
Single File: Save as a single text-based file.
Individual Files: One file for each Saved category and one for all Recent statements: Save one file for each Saved category and save all Recent statements in one file. (Whether these outputs will be present depends on what you selected under Statements.) If you select this option, select an extension under File Extension.
*Note: Recently executed statements are always stored in one file. Saved statements are stored either by category name or by a user-defined name, depending on how you specified the export.
To import saved SQL
Click on the SQL Recall toolbar.
Tip: You may need to expand the SQL Recall pane to see the button.
Toad provides an intuitive and efficient way to write, run, and test your SQL and PL/SQL code. Toad supports efficient code management for a single developer or a whole team of developers.
© ALL RIGHTS RESERVED. Conditions d’utilisation Confidentialité Cookie Preference Center