Returns the name of the current database.
SqlName$ ( sqlconn% )
where
The name of the current database.
If you need to keep track of when the database changes, use SqlChange$.
SqlChange$, SqlUse%