
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_COMPENTRY' AND KSQL_COL_NAME ='FTHEME') 
 ALTER TABLE T_PUR_COMPENTRY ADD (FTHEME CHAR(1) DEFAULT ' ' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_COMPARE_A' AND KSQL_COL_NAME ='FPUSHRESULT') 
 ALTER TABLE T_PUR_COMPARE_A ADD (FPUSHRESULT CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_BIDBILL_A' AND KSQL_COL_NAME ='FPUSHRESULT') 
 ALTER TABLE T_PUR_BIDBILL_A ADD (FPUSHRESULT CHAR(1) DEFAULT ' ' NOT NULL );
 
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_COMPONENT' AND KSQL_COL_NAME ='FISSYSPRESET') 
 ALTER TABLE T_PUR_COMPONENT ADD (FISSYSPRESET CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_COMPCONFIG' AND KSQL_COL_NAME ='FISSYSPRESET') 
 ALTER TABLE T_PUR_COMPCONFIG ADD (FISSYSPRESET CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PUR_COMPGROUP' AND KSQL_COL_NAME ='FISSYSPRESET') 
 ALTER TABLE T_PUR_COMPGROUP ADD (FISSYSPRESET CHAR(1) DEFAULT ' ' NOT NULL );