/**Begin D:\PDM_UPGRADE\PDM1\IFM_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IFM_INTBILL_BATCH_INT' AND KSQL_COL_NAME IN ('FTEXTDEBTOR'))
 ALTER TABLE T_IFM_INTBILL_BATCH_INT ADD (FTEXTDEBTOR NVARCHAR(100) DEFAULT ' ' NOT NULL );

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IFM_INTBILL_BATCH_INT' AND KSQL_COL_NAME IN ('FCALCOVERINT')) 
 ALTER TABLE T_IFM_INTBILL_BATCH_INT ADD (FCALCOVERINT CHAR(1) DEFAULT '1' NOT NULL );

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