IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_PROJECT_CHANGE' AND KSQL_COL_NAME ='FNAME') 
  ALTER TABLE T_FMM_PROJECT_CHANGE ADD (FNAME NVARCHAR(50) DEFAULT ' ' NOT NULL);
  
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FMM_PROJECT_CHANGE' AND KSQL_COL_NAME ='FREMARK') 
  ALTER TABLE T_FMM_PROJECT_CHANGE ADD (FREMARK NVARCHAR(255) DEFAULT ' ' NOT NULL);
  
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PMBD_JOBTYPE' AND KSQL_COL_NAME ='FNAME') 
  ALTER TABLE T_PMBD_JOBTYPE ADD (FNAME NVARCHAR(50) DEFAULT ' ' NOT NULL);  
  
  
