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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TSRBD_TEMPTYPEENTRY_L') CREATE INDEX IDX_TSRBD_TEMPTYPEENTRY_L ON T_TSRBD_TEMPTYPEENTRY_L ( FLOCALEID ,FENTRYID );



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