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 CE_FILE connection parameter Next Page

UltraLite NT_FILE connection parameter


Performs two different functions:

Applies to

An UltraLite client application that connects to a desktop database in addition to another platform using the same connection string.

Alternate parameters

If you are connecting from an UltraLite administration tool, or your connection object only connects to a desktop database, use DBF.

Syntax

NT_FILE=path\nt-db

Default

The default depends on what you set:

Recommendation

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

Remarks

This parameter takes precedence over the DBF parameter.

The value of NT_FILE must meet the file name requirements for Windows desktop platforms.

The path can be absolute or relative. If you include a directory as part of the file name, then all directories must exist before setting the path to this file. UltraLite does not create them automatically.

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
Example

The following example creates a new connection and identifies different database files for the desktop, Palm OS, and Windows CE platforms:

Connection = DatabaseMgr.OpenConnection("UID=JDoe;PWD=ULdb;
NT_FILE=c:\test\MyTestDB.udb;CE_FILE=\database\MyCEDB.udb;PALM_FILE=MyPalmDB_MyCreatorID")