X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ADO DefaultDatabase Property


Connection Object Reference Complete Connection Object Reference

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
%>


Connection Object Reference Complete Connection Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook