When sessions are logged on, an initial default database is set. Normally, this is the defined default database of the user.
You can also use the CREATE PROFILE and MODIFY PROFILE statements to modify the default database. This default database is used until the end of the session, or until a subsequent DATABASE statement is entered. You can include the DATABASE statement in the user startup string.