About Ispirer Systems

Ispirer Home Page Database Migration Application Conversion Downloads


Sqlways.ini File - Section [WINDOWS]

This article describes sqlways.ini file's [WINDOWS] section and the options it contains.

Option name Description
GCMD_AFTER_IMP_CMD Specifies a command that will be executed after importing each database object (table, view etc). This command is used in the general command file only.
SQLWays creates the general command file to make it possible to import a large number of database objects (tables, views etc) at once. See the /GCMD option for more information.
The general command file invokes command files for each database object using the CALL command. The GCMD_AFTER_IMP_CMD option allows specifying a command that will be placed after each CALL command.

Example:

For example, when no value is specified in the GCMD_AFTER_IMP_CMD option, the general command file contains CALL commands only: 
call table1.cmd 
call table2.cmd 
call table3.cmd 
call view1.cmd 
call view2.cmd 

When you specify, for example, GCMD_AFTER_IMP_CMD=pause, the general command file will contain:
call table1.cmd 
pause 
call table2.cmd 
pause 
call table3.cmd 
pause 
call view1.cmd 
pause 
call view2.cmd 
pause