addTable

The addTable element allows a new table to be added to the schema.

Example:

<addTable name="my_new_table" id="2001">
   <description>This is the description of the new table.</description>
   <groupName>my custom group</groupName>
</addTable>

<addColumn name="objid" dataType="Integer" table="my_new_table" />
<addColumn name="x_my_new_column" dataType="DateTime" table="my_new_table" />


Required Attributes:

Attribute Name

Description

name

Specifies the name of the table. This must be a unique name amongst all tables and views.

id

Specifies the id number of the table. This must be a unique id amongst all tables and views. The customer range for IDs is 430-511 and 2000-4999.


Optional Child Elements:

Element Name

Default

Description

description

 

Description of the table and its purpose.

groupName

 

Specifies the name of the application module that the table is used by.

areIDsCached

false

Specifies if objid caching is enabled for this table when using the Clarify Classic Client.

areFlexibleAttributesAllowed

false

Specifies if the object can have flexible attributes.

isFlexibleAttributeTable

false

Specifies if the object is a flexible attributes table.

isOnlyMetadata

false

Indicates if the table is only represented in the metadata layer (ADP tables), and not a physical table.

See Also

schemaScript

addColumn

addExclusiveRelationSet

addIndex

addJoin

addRelation

addSqlView

addSqlViewColumn

addView

addViewColumn

updateColumn

updateIndex

updateJoin

updateRelation

updateTable

updateSchema

updateSqlView

updateSqlViewColumn

updateView

updateViewColumn

Next

addView

addTable