 EXEC P_ALTERPK 'PK_MDS_ORDERSETOFF', 'T_MDS_ORDERSETOFF', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MDS_ORDERSETOFF_ONO') CREATE INDEX IDX_MDS_ORDERSETOFF_ONO ON T_MDS_ORDERSETOFF ( FORDERNO );
 
/**End D:\k3Cloud\PDM_UPGRADE\PDM1\MDS_constraint.sql **/
