Schema Script is a simple, imperative way of specifying the changes to be made to the database schema.
A complete schema file (Data Dictionary), because of its size and complexity, can quickly become unwieldy and cumbersome to work with.
Schema Script simplifies the process of schema changes by allowing a user to specify only the changes to be made, as opposed to the complete schema.
To modify the database schema using Schema Script:
SchemaEditor.exe Default.SchemaEditor -preview
SchemaEditor.exe Default.SchemaEditor -apply
Note: Only adds and updates can be performed using SchemaScript. Deletes are not currently supported. When performing an add operation (such as addTable or addColumn), if that object already exists in the database, this object will be "skipped", and will not cause any database changes to be performed.
See Also |
Next |