/**Begin C:\anzhuang\PDM_UPGRADE\PDM1\BDTAXC_constraint.sql **/
 EXEC P_ALTERPK 'PK_BD_TAXRATETYPE', 'T_BD_TAXRATETYPE', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TAXRATETYPE_NO') CREATE INDEX IDX_TAXRATETYPE_NO ON T_BD_TAXRATETYPE ( FNUMBER );


 EXEC P_ALTERPK 'PK_BD_TAXRATETYPE_L', 'T_BD_TAXRATETYPE_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_TAXRATETYPE_L_0') CREATE INDEX IDX_BD_TAXRATETYPE_L_0 ON T_BD_TAXRATETYPE_L ( FID ,FLOCALEID );



/**End C:\anzhuang\PDM_UPGRADE\PDM1\BDTAXC_constraint.sql **/
