Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - Database Management and Reference » UltraLite Connection String Parameters Reference

UltraLite CON connection parameter Next Page

UltraLite DBF connection parameter


Performs two different functions:

Applies to

Typically used when targeting a single platform or using UltraLite administration tools.

Alternate parameters

If you are connecting to multiple databases on different devices from a single connection string, you can use the following parameters to name platform-specific alternates:

Syntax

DBF=ul-db

Default

Depends on the platform:

Recommendation

Always explicitly specify the parameter; do not rely on default behavior.

Remarks

If specified, the platform-specific parameters take precedence over DBF.

Because they are aliases, if DBF is used concurrently, the last one specified takes precedence.

The value of DBF must meet the file name requirements for the platform in question.

If you are deploying to a Windows CE device, UltraLite utilities and wizards can administer an UltraLite database on an attached CE device. To identify a file on a CE device, ensure specify the required absolute path and use the wce:\ prefix as illustrated by the Windows CE example below.

Any leading or trailing spaces in parameter values are ignored. This connection parameter's value cannot include leading single quotes('), leading double quotes ("), or semi-colons(;).

See also
Examples

To connect to the database, MyULdb.udb, installed in the desktop directory c:\mydb, use the following connection string:

"DBF=c:\mydb\MyULdb.udb"

To connect to the same database that is deployed to the Ultralite folder of the attached Windows CE device, use the following connection string:

"DBF=wce:\UltraLite\MyULdb.udb"