/**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_CATEGORYINFO' AND KSQL_COL_NAME ='FADDCSWHJSS') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FADDCSWHJSS VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FADDJYFFJ') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FADDJYFFJ VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FADDDFJYFFJ') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FADDDFJYFFJ VARCHAR(100) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FORGPLACE') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FORGPLACE VARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FCSWHJSSENABLE') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FCSWHJSSENABLE VARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FJYFFJENABLE') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FJYFFJENABLE VARCHAR(30) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_TCTB_CATEGORYINFO' AND KSQL_COL_NAME ='FDFJYFFJENABLE') 
 ALTER TABLE T_TCTB_CATEGORYINFO ADD (FDFJYFFJENABLE VARCHAR(30) DEFAULT ' ' NOT NULL );

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