Create tables automatically

You automatically create tables in the template definition if they do not exist on a server.

Include the --autocreate option in the cdr realize template command to automatically create tables. You cannot use the --autocreate option for tables that contain user-defined data types.

Use the --dbspace option to specify a dbspace for table creation.

Note: Tables that are created by --autocreate option do not automatically include non-replicate key indexes, defaults, constraints (including foreign constraints), triggers, or permissions. You must manually create these objects.