InstallAnywhere 2013
The Run SQL Script action runs an SQL script on a database server. This action requires an existing database server host in the Hosts view on the Organization page. Once the database server has been added in the Hosts view, you can add it to a database server host in a view on the Sequence page.
The Run SQL Script action allows you to specify separate SQL scripts (install script and uninstall script) to run during installation and uninstallation. You can specify an install script, an uninstall script, or both.
In either case, choose from the following options:
• | Selected Script—To specify a script file to bundle with your installer, select this option. Click Choose File to open the Choose a File dialog box. Then, browse to the script file you want your installer to run and click Open. |
• | Existing Script—To specify a script file that exists on the target system, select this option. In the Existing Script text box, type the path to the script file you want your installer to run. |
SQL Statement Delimiter
Identifies the string that separates SQL statements. To change the default delimiter (;) type the new character or characters (for example, \n or GO). The Run SQL Script action parses the SQL script and then sends each statement to the database driver for execution.
Note: For both install scripts and uninstall scripts that are bundled with your installer (Selected Script), you can view the currently selected script by clicking the View Script button. (The SQL script cannot be altered in the SQL Script Preview window.)
InstallAnywhere 2013 Help LibraryOctober 2013 |
Copyright Information | Contact Us |