/**Begin D:\pdm\PDM_UPGRADE\pdm_new\BDM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BDM_MATCH_ORI_INV_SET' AND KSQL_COL_NAME ='FREDREASON') 
 ALTER TABLE T_BDM_MATCH_ORI_INV_SET ADD (FREDREASON NVARCHAR(10) DEFAULT ' ' NOT NULL );

/**End D:\pdm\PDM_UPGRADE\pdm_new\BDM_table.sql **/
