You can use the following DBM commands during a database session:
Executing a Database Statement
db_execute
Ending a Database Session
db_release
Opening a Database Session
db_connect
Take account of the server authorizations required for the respective DBM commands.