Chapter 10 Generating a Database from a PDM
For each tablespace, you have the option to insert the following scripts:
Script | Where it is inserted |
---|---|
Begin script | Immediately before the tablespace creation command (after the table title) |
End script | Immediately after the tablespace creation command |
These scripts can appear in database creation scripts and database modification scripts.
You can use the following variables in these scripts:
Variable | Description |
---|---|
%DATABASE% | Code of the current PDM |
%DATE% | Date of script generation |
%DBMSNAME% | Code 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 |
%TABLESPACE% | Code of the tablespace |
%OPTIONS% | Physical options of the tablespace |
%AUTHOR% | Author of the current model |
To insert begin and end scripts for tablespace creation:
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |