EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Page 74

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Connection parameters
56
You should supply DatabaseSwitches only if you are connecting to a
database that is not currently running. When the server starts the database
specified by DatabaseFile, the server uses the supplied DatabaseSwitches
as command line options to determine startup options for the database.
Only database switches can be supplied using this parameter. Server
switches must be supplied using the START connection parameter.
The following command, entered all on one line at the command
prompt, connects to the default database server, loads the database file
asademo.db
(DBF parameter), names it as my_db (DBS parameter) and
connects to the database of that name (DBN parameter).
dbcollat -c
"uid=dba;pwd=sql;dbf=asademo.db;dbn=my_db;dbs=-n
my_db" e:\temp\temp.col
DataSourceName connection parameter [DSN]
Tells the ODBC driver manager or Embedded SQL library where to look in
the
odbc.ini
file or registry to find ODBC data source information.
Anywhere
There is no default data source name.
"FileDataSourceName connection parameter" on page 59
It is common practice for ODBC applications to send only a data source
name to ODBC. The ODBC driver manager and ODBC driver locate the data
source, which contains the remainder of the connection parameters.
In Adaptive Server Anywhere, Embedded SQL applications can also use
ODBC data sources to store connection parameters.
The following parameter uses a data source name:
DSN=Dynamo Demo
Debug connection parameter [DBG]
To provide diagnostic information on communications links on startup.
Anywhere
No diagnostic information
"Logfile connection parameter" on page 60
Description
Examples
Function
Usage
Default
See also
Description
Examples
Function
Usage
Default
See also

Table of Contents

Related product manuals