IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_DROPPLANORDERLOG' AND KSQL_COL_NAME ='FTARGETORDERBILLNO') 
 ALTER TABLE T_MRP_DROPPLANORDERLOG ADD (FTARGETORDERBILLNO NVARCHAR(100) DEFAULT ' ' NOT NULL );