Collection Contents Index Working with ODBC data sources Troubleshooting connections pdf/chap2.pdf

User's Guide
   PART 1. Working with Databases
     CHAPTER 2. Connecting to a Database       

Connection parameters


The Adaptive Server Anywhere connection parameters are listed in the following table.

For Info     For a full description of each of these connection parameters, see Connection and Communication Parameters.

Parameter

Short form

Argument

Agent

Agent

String (Any or Server)

AutoStart

AStart

Boolean

Autostop

AStop

Boolean

CommBufferSize

CBSize

Integer

CommBufferSpace

CBSpace

Integer

CommLinks

Links

String

ConnectionName *

CON

String

DatabaseFile

DBF

String

DatabaseName

DBN

String

DatabaseSwitches

DBS

String

DataSourceName

DSN

String

Debug

DBG

Boolean

DisableMultiRowFetch

DMRF

Boolean

EncryptedPassword

ENP

Encrypted string

Encryption

ENC

Boolean

EngineName / ServerName

ENG

String

FileDataSourceName

FileDSN

String

Integrated

INT

Boolean

LivenessTimeout

LTO

Integer

Logfile

LOG

String

Password **

PWD

String

StartLine

Start

String

Unconditional

UNC

Boolean

Userid **

UID

String

* Not used by ODBC connections

** Verbose form of keyword not used by ODBC connection parameters

Notes 

Top of page  Connection parameter priorities

Connection parameters often provide more than one way of accomplishing a given task. This is particularly the case with embedded databases, where a database server is started by the connection string.

For example, if your connection will start a database, you can specify the database name using the DBN connection parameter or using the DBS parameter.

Here are some recommendations and notes for situations where connection parameters conflict:

Top of page  

Collection Contents Index Working with ODBC data sources Troubleshooting connections pdf/chap2.pdf