Navigation:  ThinBASIC Modules > ADODB > ADODB Module Classes > ADODB_Connection > ADODB_Connection Properties >

<ADODB_Connection>.DefaultDatabase

Previous pageReturn to chapter overviewNext page

 

Description

 
Sets or returns a string value that is the default database for a specific server-side connection

 

Syntax

 

GET

s = <ADODB_Connection>.DefaultDatabase

 

SET

<ADODB_Connection>.DefaultDatabase = DefaultDatabase

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning

DefaultDatabase

Number

Yes

the default database

 

Remarks

 

Restrictions

 

See also

 

Examples