/**Begin C:\PDM_UPGRADE\PDM1\SRC_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_MEMBERENTRY' AND KSQL_COL_NAME IN ('FBIDDER1')) 
 ALTER TABLE T_SRC_MEMBERENTRY ADD (FBIDDER1 BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_MEMBERENTRY' AND KSQL_COL_NAME IN ('FBIDDER2')) 
 ALTER TABLE T_SRC_MEMBERENTRY ADD (FBIDDER2 BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_MEMBERENTRY' AND KSQL_COL_NAME IN ('FBIDDER3')) 
 ALTER TABLE T_SRC_MEMBERENTRY ADD (FBIDDER3 BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_MEMBERENTRY' AND KSQL_COL_NAME IN ('FBIDDER4')) 
 ALTER TABLE T_SRC_MEMBERENTRY ADD (FBIDDER4 BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_SRC_MEMBERENTRY' AND KSQL_COL_NAME IN ('FBIDDER5')) 
 ALTER TABLE T_SRC_MEMBERENTRY ADD (FBIDDER5 BIGINT DEFAULT 0 NOT NULL );

/**End C:\PDM_UPGRADE\PDM1\SRC_table.sql **/
