/**Begin D:\cgq\develop\document\dba\PDMTOOLS\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\TPO_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TPO_DECLARE_DETAIL_TSD' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_TPO_DECLARE_DETAIL_TSD ADD (FSEQ INT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TPO_DECLARE_DETAIL_TSC' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_TPO_DECLARE_DETAIL_TSC ADD (FSEQ INT DEFAULT 0 NOT NULL );

/**End D:\cgq\develop\document\dba\PDMTOOLS\PDMTOOLS\PDM_UPGRADE_1.3\PDM_UPGRADE\pdm1\TPO_table.sql **/
