IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_INT_PROMPTWORDTRAN_L' AND KSQL_COL_NAME IN ('FPROJECTNUMBER')) 
 ALTER TABLE T_INT_PROMPTWORDTRAN_L ADD (FPROJECTNUMBER VARCHAR(255) DEFAULT ' ' NOT NULL );

 EXEC p_AlterColumn 'T_INT_PROMPTWORDTRAN_L', 'FRESID', 'VARCHAR(100)', 'NOT NULL', '0100', ''' '''; 