In a database creation script, you can insert a Begin script before the command that creates the database and an End script after the last command in the database creation script.
Variable |
Description |
---|---|
%DATABASE% |
Name of the current PDM |
%DATE% |
Date of script generation |
%DBMSNAME% |
Name of the DBMS for the target database |
%NAMESCRIPT% |
Filename of script file |
%PATHSCRIPT% |
Filename and path of script file |
%STARTCMD% |
Command that runs the script |
%AUTHOR% |
Author of the current model |
For a complete list of the variables available and how to format them, see PDM Variables and Formatting Variables.