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

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