/**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_TASK_DETAIL' AND KSQL_COL_NAME ='FCREATEDATE') 
 ALTER TABLE T_TCTB_TASK_DETAIL ADD (FCREATEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_TASK_DETAIL' AND KSQL_COL_NAME ='FMODIFYDATE') 
 ALTER TABLE T_TCTB_TASK_DETAIL ADD (FMODIFYDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_TASK_MONITOR' AND KSQL_COL_NAME ='FCREATEDATE') 
 ALTER TABLE T_TCTB_TASK_MONITOR ADD (FCREATEDATE DATETIME );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_TASK_MONITOR' AND KSQL_COL_NAME ='FMODIFYDATE') 
 ALTER TABLE T_TCTB_TASK_MONITOR ADD (FMODIFYDATE DATETIME );



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