The DefaultDatabase property sets or returns a string value that is the default database for a specific server-side connection. Syntax ...
The DefaultDatabase property sets or returns a string value that is the default database for a specific server-side connection.
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 %> |
Goto ADO Connection Object Complete Reference