/**Begin D:\PDM_UPGRADE\PDM1\TSRBD_constraint.sql **/
 EXEC P_ALTERPK 'PK_TSRBD_APPLICABLEAPP_L', 'T_TSRBD_APPLICABLEAPP_L', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_TSRBD_APPLICABLEAPP', 'T_TSRBD_APPLICABLEAPP', 'FID', '1';

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



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