Assume your default database is personnel. The following example shows how to change the default database to accounting for the current session.
SET SESSION DATABASE accounting;
Assume your default database is personnel. The following example shows how to change the default database to accounting for the current session.
SET SESSION DATABASE accounting;