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

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