/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\EB_constraint.sql **/

 
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_eb_taskvariableset') CREATE INDEX IDX_eb_taskvariableset ON T_EB_TASKVARIABLESET ( FSEQ );



 EXEC P_ALTERPK 'PK_EB_DATAPERMVERSION', 'T_EB_DATAPERMVERSION', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_DATAPERMVERSION_DIM') CREATE INDEX IDX_EB_DATAPERMVERSION_DIM ON T_EB_DATAPERMVERSION ( FDIMENSION );



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