/**Begin D:\zhaohui_zeng\PDM_UPGRADE\pdm1\MSPLAN_constraint.sql **/
 EXEC P_ALTERPK 'PK_MSPLAN_METASQL_CHECKLOG', 'T_MSPLAN_METASQL_CHECKLOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MSPLAN_METASQL_CHECKLOG') CREATE INDEX IDX_MSPLAN_METASQL_CHECKLOG ON T_MSPLAN_METASQL_CHECKLOG ( FBUILDID );



/**End D:\zhaohui_zeng\PDM_UPGRADE\pdm1\MSPLAN_constraint.sql **/
