/**Begin D:\PDM_UPGRADE\PDM1\PhysicalDataModel_1_constraint.sql **/
 EXEC P_ALTERPK 'PK_TSRBD_INDUSTRYTYPE', 'T_TSRBD_INDUSTRYTYPE', 'FID', '1';

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


 EXEC P_ALTERPK 'PK_TSRBD_INDUSTRYTYPE_L', 'T_TSRBD_INDUSTRYTYPE_L', 'FPKID', '1';

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



/**End D:\PDM_UPGRADE\PDM1\PhysicalDataModel_1_constraint.sql **/
