Create-tables script

Previous Next

A create-tables script is a SQL script that is run directly against the RDBMS and that will make all the necessary database changes associated with your release. It will create, drop or alter database tables, database indexes, and (in the case of the Oracle and Sql Server RDBMS) database sequences in order to achieve the database state described by the new version of your application.

A create-tables script produced by Delivery Manager has the file name "application.200.upg.rdbms.sql". It is placed in the \scripts subfolder (the scripts section) of the release folder.

A create-tables script is RDBMS-specific. Delivery Manager is able to generate Oracle and SQL Server syntax.

On a per-table basis, you can indicate that you want a create-tables script to skip the table or to generate a CREATE TABLE (as opposed to an ALTER TABLE) statement. Do this at application table level in Delivery Manager.

Otherwise, you could tailor the create-tables script that Delivery Manager generates to your special needs. This is not recommended unless you have special reasons.

 

 

collapseDo you really need a create-tables script?
collapseWhat does a create-tables script contain?
collapseCreating and releasing the create-tables script

 

See also

Upgrade scripts

Upgrade