Database

Description

Specifies the name of the database you want to connect to.

NoteWhen to specify Database You must specify the Database parameter before connecting to the database.

Applies to

ADO.NET

Syntax

DataBase = 'database_name'

Default

None

Usage

When you use this parameter with an AdoTransaction object in DataWindow .NET, set this parameter in the ConnectString parameter of the Connection object. For more information, see “Specifying parameters for ADO.NET and AdoTransaction”.

Examples

Example 1

To connect to the database “mydb”: