/**Begin D:\pdm\PDM_UPGRADE\pdm_new\BDM_constraint.sql **/
 
 EXEC P_ALTERPK 'PK_BDM_LQPT_SCHEDULE', 'T_BDM_LQPT_SCHEDULE', 'FID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_LQPT_SCHEDULE') CREATE  CLUSTERED INDEX IDX_BDM_LQPT_SCHEDULE ON T_BDM_LQPT_SCHEDULE ( FUPDATE_TIME ,FSTATUS );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BDM_LQPT_SCHEDULE2') CREATE INDEX IDX_BDM_LQPT_SCHEDULE2 ON T_BDM_LQPT_SCHEDULE ( FCREATE_TIME );



/**End D:\pdm\PDM_UPGRADE\pdm_new\BDM_constraint.sql **/
