NAME
SQLdbName - return the name of the currently open database

SYNOPSIS
SQLdbName

DESCRIPTION

The SQLdbName command returns the name of the currently open database. If no database is open, then the null string is returned.

EXAMPLE
The following code fragment will open a database if there is not already an open database:
    if { [SQLdbname] == {} } \
    { puts stdout "Opening database";
        SQLopendb microlab;
    }

KEYWORDS
database, cursor

SEE ALSO
SQLopendb(3), SQLclosedb(3)