/**Begin D:\PDM_UPGRADE\PDM1\BRM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BRM_POLICY' AND KSQL_COL_NAME ='FENABLEMINFIRST') 
 ALTER TABLE T_BRM_POLICY ADD (FENABLEMINFIRST CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BRM_POLICY' AND KSQL_COL_NAME ='FORGPARAM') 
 ALTER TABLE T_BRM_POLICY ADD (FORGPARAM VARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BRM_POLICY_TMP' AND KSQL_COL_NAME ='FENABLEMINFIRST') 
 ALTER TABLE T_BRM_POLICY_TMP ADD (FENABLEMINFIRST CHAR(1) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BRM_POLICY_TMP' AND KSQL_COL_NAME ='FORGPARAM') 
 ALTER TABLE T_BRM_POLICY_TMP ADD (FORGPARAM VARCHAR(50) DEFAULT ' ' NOT NULL );

/**End D:\PDM_UPGRADE\PDM1\BRM_table.sql **/
