The databasename property of the connection object type contains the name of the default database for the connection. databasename is a read-only property of type string. NOTE: If you want to change the current default database for a connection, call the connection.selectdatabase method.
For example, if conn is a connection object reference with an open connection to a database engine then the following:
is equal to the default database for the connection referenced by conn.
Operating Systems: All Standard Pascal: No