/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BOS_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_INT_FORMATBASE', 'T_INT_FORMATBASE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_FORMATBASE_CATE') CREATE INDEX IDX_T_INT_FORMATBASE_CATE ON T_INT_FORMATBASE ( FCATEGORY );


 EXEC P_ALTERPK 'PK_T_INT_FORMATLOCALE', 'T_INT_FORMATLOCALE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_INT_FORMATLOCALE_FORMAT') CREATE INDEX IDX_T_INT_FORMATLOCALE_FORMAT ON T_INT_FORMATLOCALE ( FFORMATID );



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