 EXEC p_AlterPK 'PK_CTBOTP_TENANTPATH', 't_ctbotp_tenantpath', 'fid', '1';

 EXEC p_AlterPK 'PK_CTBOTP_TENANTPATH_L', 't_ctbotp_tenantpath_l', 'fpkid', '1';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_CTBOTP_TENANTPATH_L' AND KSQL_INDNAME = 'IDX_CTBOTP_TENANTPATH_FID_FLOCALEID')
 CREATE UNIQUE INDEX IDX_CTBOTP_TENANTPATH_FID_FLOCALEID ON T_CTBOTP_TENANTPATH_L (FID ,FLOCALEID );


