Altering a user mapping
A user mapping is the association between the authorization ID at the federated server and the authorization ID at the data source. User mappings enable distributed requests can be sent to the data source.
Before you begin
If the authorization ID that issues the statement is different than the authorization ID that is mapped to the data source, ensure that the authorization ID that issues the statement has either either SYSADM or DBADM authority on the federated database.
About this task
The federated server cannot process an ALTER USER MAPPING
statement within a particular unit of work (UOW) if the UOW already
includes one of the following statements:
- A SELECT statement that references a nickname for a table or view at the data source the mapping includes.
- An open cursor on a nickname for a table or view at the data source that the mapping includes.
- An INSERT, DELETE, or UPDATE statement that is issued for a nickname of a table or view at the data source that the mapping includes.
Procedure
Use one of the following methods: