/**Begin D:\PDM_UPGRADE\PDM1\HAOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HAOS_EMPTYREMAINSTAFF', 'T_HAOS_EMPTYREMAINSTAFF', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HAOS_EMPTYREMAINSTAFF_FID') CREATE INDEX IDX_HAOS_EMPTYREMAINSTAFF_FID ON T_HAOS_EMPTYREMAINSTAFF ( FADMINORGID );



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