/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_PREFERENTIAL_ITEM' AND KSQL_COL_NAME ='FDATEFIELD') 
 ALTER TABLE T_TCCIT_PREFERENTIAL_ITEM ADD (FDATEFIELD DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_APITUDEINFO_S' AND KSQL_COL_NAME ='FPROFITMYEAR') 
 ALTER TABLE T_TCCIT_APITUDEINFO_S ADD (FPROFITMYEAR VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_APITUDEINFO_S' AND KSQL_COL_NAME ='FANNUALCOME') 
 ALTER TABLE T_TCCIT_APITUDEINFO_S ADD (FANNUALCOME VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCCIT_APITUDEINFO_S' AND KSQL_COL_NAME ='FPRIORITYTION') 
 ALTER TABLE T_TCCIT_APITUDEINFO_S ADD (FPRIORITYTION VARCHAR(100) DEFAULT ' ' NOT NULL );

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_table.sql **/
