/**Begin D:\workspace\_workspace_\_workspace_doc_\工具\PDM_UPGRADE\PDMNEW\FPM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_FPM_ROWDATAID_SAVE', 'T_FPM_ROWDATAID_SAVE', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FPM_ROWDATAID_SAVE') CREATE INDEX IDX_FPM_ROWDATAID_SAVE ON T_FPM_ROWDATAID_SAVE ( FID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FPM_RDI_MAINENTRYID') CREATE INDEX IDX_FPM_RDI_MAINENTRYID ON T_FPM_ROWDATAID_SAVE ( FMAINDIMDATAID );



/**End D:\workspace\_workspace_\_workspace_doc_\工具\PDM_UPGRADE\PDMNEW\FPM_constraint.sql **/
