Use the SET CATALOG statement to set the current catalog context for a connection or session.
The SET CATALOG statement takes effect immediately, starting from the next SQL statement.
In Advanced Replication configurations that have multiple master databases, the SET CATALOG statement defines the master database that is used for any synchronization statements.
The SET CATALOG statement is also required when more than one catalog is defined in the database.