June 2001
Intermediate to advanced
620 pages
19h 29m
English
Connection.DefaultDatabase Property — (Versions 2.0, 2.1, 2.5, 2.6)
connection.DefaultDatabase = database
The DefaultDatabase property indicates the database that is chosen as the default for the current connection.
String
The DefaultDatabase property allows the application to specify which database is the default for a Connection object.
Unqualified syntax automatically refers to the database specified by the DefaultDatabase property. Qualifying the object names with the desired database name must be done to access all other databases.
Not all providers support the DefaultDatabase property. If they do not, they may raise an error or return an empty String value.
Read now
Unlock full access