<<

Contents

Search

>>

 

JDBC_DATABASE

 

 

Instruction

 

 

Syntax:

JDBC_DATABASE[(<Name of Index File>)] = <Database name>

 

<Name of Index File>

= <INDEX FILE NAME>

<Database name>

= <STRING-EXPRESSION>

 

 

Meaning:

Specifies the name of the database in which the Index File is opened as table if the File Type of the Index File is J (JDBC).

 

If no Index File is specified, the database name applies to all Index Files of the program.

 

Parameter:

Name of Index File

Name of Index File

Database name

Name of database

 

Sample:

JDBC_DATABASE(CUSTOMER) = "jdbc:db2://localhost:50000/sample"

JDBC_DATABASE(SALES) = "jdbc:mysql:///test"

 

See also:

JDBC_CONNECT

JDBC_MODE

JDBC_DRIVER

JDBC_TABLE

JDBC_VIEWNAME

JDBC_PASSWORD

JDBC_USERID

JDBC_SET_ISOLATION

JDBC_SET_CONCURRENCY

JDBC_SET_AUTOCOMMIT

JDBC_GET_DATABASE_NAME$