/**Begin D:\PDM_UPGRADE\PDM1\MSPLAN_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FISPURQUOTA') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FISPURQUOTA CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FQUOTAATTRS') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FQUOTAATTRS NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANPROGRAM' AND KSQL_COL_NAME ='FQUOTATYPE') 
 ALTER TABLE T_MRP_PLANPROGRAM ADD (FQUOTATYPE NVARCHAR(20) DEFAULT ' ' NOT NULL );

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