/**Begin D:\PDM_UPGRADE\PDM1\CAS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_CAS_PAYSCHE_RECORD', 'T_CAS_PAYSCHE_RECORD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_CAS_PAYSCHE_RECORDBATCH') CREATE INDEX IDX_T_CAS_PAYSCHE_RECORDBATCH ON T_CAS_PAYSCHE_RECORD ( FPAYBATCHID );



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