Connection parameters
Description
Examples
DataSourceName connection parameter [DSN]
Function
Usage
Default
See also
Description
Examples
Debug connection parameter [DBG]
Function
Usage
Default
See also
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
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
To provide diagnostic information on communications links on startup.
Anywhere
No diagnostic information
"Logfile connection parameter" on page 60
Need help?
Do you have a question about the Adaptive Server Anywhere and is the answer not in the manual?
Questions and answers