/**Begin D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_table.sql **/
 EXEC p_AlterColumn 'T_BCM_INVRELATIONSET', 'FACCURACY', 'VARCHAR(2)', 'NOT NULL', '1111', '''2''';

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_INVRELATIONSET' AND KSQL_COL_NAME ='FRULEEXCABLE') 
 ALTER TABLE T_BCM_INVRELATIONSET ADD (FRULEEXCABLE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BCM_INVRELATIONSET' AND KSQL_COL_NAME ='FSAMEPARENTABLE') 
 ALTER TABLE T_BCM_INVRELATIONSET ADD (FSAMEPARENTABLE CHAR(1) DEFAULT '0' NOT NULL );

/**End D:\DBA\1.4\PDM_UPGRADE\PDM1\BCM_table.sql **/
