Menu
×
   ❮     
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS R TYPESCRIPT ANGULAR GIT POSTGRESQL MONGODB ASP AI GO KOTLIN SASS VUE DSA GEN AI SCIPY CYBERSECURITY DATA SCIENCE
     ❯   

ADO DefaultDatabase Property


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

❮ Complete Connection Object Reference