src-db/database/model/tables/AD_DIMENSION.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 3237 20a02b5e1722
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="TABLE AD_DIMENSION">
     2   <database name="TABLE AD_DIMENSION">
     3     <table name="AD_DIMENSION" primaryKey="AD_DIMENSION_KEY">
     3     <table name="AD_DIMENSION" primaryKey="AD_DIMENSION_KEY">
     4       <column name="AD_DIMENSION_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     4       <column name="AD_DIMENSION_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
     5         <default/>
     5         <default/>
     6         <onCreateDefault/>
     6         <onCreateDefault/>
     7       </column>
     7       </column>
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     9         <default/>
     9         <default/>
    10         <onCreateDefault/>
    10         <onCreateDefault/>
    11       </column>
    11       </column>
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    13         <default/>
    13         <default/>
    14         <onCreateDefault/>
    14         <onCreateDefault/>
    15       </column>
    15       </column>
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    17         <default><![CDATA[Y]]></default>
    17         <default><![CDATA[Y]]></default>
    19       </column>
    19       </column>
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    21         <default><![CDATA[SYSDATE]]></default>
    21         <default><![CDATA[SYSDATE]]></default>
    22         <onCreateDefault/>
    22         <onCreateDefault/>
    23       </column>
    23       </column>
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    25         <default/>
    25         <default/>
    26         <onCreateDefault/>
    26         <onCreateDefault/>
    27       </column>
    27       </column>
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    29         <default><![CDATA[SYSDATE]]></default>
    29         <default><![CDATA[SYSDATE]]></default>
    30         <onCreateDefault/>
    30         <onCreateDefault/>
    31       </column>
    31       </column>
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    33         <default/>
    33         <default/>
    34         <onCreateDefault/>
    34         <onCreateDefault/>
    35       </column>
    35       </column>
    36       <column name="COLUMNNAME" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false">
    36       <column name="COLUMNNAME" primaryKey="false" required="true" type="VARCHAR" size="40" autoIncrement="false">
    37         <default/>
    37         <default/>
    55       </column>
    55       </column>
    56       <column name="JOIN_GROUP2" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
    56       <column name="JOIN_GROUP2" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
    57         <default/>
    57         <default/>
    58         <onCreateDefault/>
    58         <onCreateDefault/>
    59       </column>
    59       </column>
    60       <column name="AD_PROCESS_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    60       <column name="AD_PROCESS_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    61         <default/>
    61         <default/>
    62         <onCreateDefault/>
    62         <onCreateDefault/>
    63       </column>
    63       </column>
    64       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADDIMENSION">
    64       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADDIMENSION">
    65         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    65         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>