SqlName$

Returns the name of the current database.

Syntax

SqlName$ ( sqlconn% )

where

sqlconn%
Is a SQL Server connection. The value of sqlconn% is returned by SqlOpen%.

Returns

The name of the current database.

Remarks

If you need to keep track of when the database changes, use SqlChange$.

See Also

SqlChange$, SqlUse%