![]() | Configure SQL scripts |
| Home | Contact | Site Map | |
USER GUIDE
| The SQL Script pageThis page allows you to configure SQL Scripts. When adding a script to the project you will be prompted to select a script file from the disk. GeneralSQL Script FileSpecify the script file. Use button to select it. Statement separator (SQL Batch file separator)Specify the separator for the SQL statements.
Strip comments from SQL scriptRemoves all comments from the SQL script. (This option also removes SQL comments from your stored procedures, if any.) Script ExecutionRun SQL ScriptSelect when the SQL script should be executed. You have three options:
Script ConditionCondition the execution of the script. Use the button. The Edit Condition Dialog dialog will be displayed allowing you to edit a condition.
In case of errorSpecify the action that should be taken if an SQL script error is encountered when the script is executed.
SQL ReplacementsThis section enables you to replace certain sections of your script. These replacements can use installer properties and they are executed when the package is built. Adding a new SQL replacementUse the button, the "Add..." context menu item or press the Ins key while the focus is in the list. The SQL Script Replacement dialog will be displayed allowing you to create a new SQL replacement. Editing an SQL replacementUse the button, the "Edit..." context menu item or press the Space key while the focus is in the list. The SQL Script Replacement dialog will be displayed allowing you to edit an SQL replacement. Removing an SQL replacementUse the button, the "Remove" context menu item or press the Del key while the focus is in the list. SQL Script Execution SequenceThe SQL scripts of an SQL connection are executed in the order they appear in the tree (top-down). To change the execution order, move them by drag and drop in the tree. Disclaimer
Topics
|
