ADO DefaultDatabase Property
Definition and Usage
The DefaultDatabase property can set or return a string value, which is the name of the default database on the specific Connection object.
Syntax
objconn.DefaultDatabase
Example
<% set conn=Server.CreateObject("ADODB.Connection") conn.DefaultDatabase="northwind" set rs=Server.CreateObject("ADODB.Recordset") rs.Open "customers",conn .... rs.Close conn.close %>