5. Using a Distributed Database : Connecting Directly to a Local Database : Direct Connect Statement : Direct Connect Syntax
 
Share this page                  
Direct Connect Syntax
The direct connect statement has the following format:
direct connect
       [with
       [node = node_name,
       database = database_name]
       [, dbms = server_class]]
node = node_name
Specifies the Net defined vnode name (the virtual node name) of the remote node that holds the database to which you want to connect. The default node is the current node. It can be delimited with double quotes.
If you specify the node = clause, you also must specify the database = clause.
database = database_name
Is the name of the local database to which you want to connect. The default database is the coordinator database. It can be delimited with double quotes.
If you specify the database = clause, you also must specify the node = clause.
The default for database and node is the coordinator database on the current node.
dbms = server_class
Is the type of local DBMS that contains the local database. It can be delimited with double quotes.
The server_class must be Ingres or one of the SQL Enterprise Access products. If you do not specify a server class, the default is the value in default_server_class on the remote installation (Ingres, unless defined otherwise.) To view or change this value, use the Configure Name Server screen of the Configuration-By-Forms utility.