/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDL_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BAS_DEPLOYPACKAGE', 'T_BAS_DEPLOYPACKAGE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BAS_DEPLOYPACKAGE_TIME') CREATE INDEX IDX_BAS_DEPLOYPACKAGE_TIME ON T_BAS_DEPLOYPACKAGE ( FCREATETIME );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDL_constraint.sql **/
