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

SQL Anywhere 12.0.0 (Français) » UltraLite - Database Management and Reference » Using UltraLite databases » Connecting to an UltraLite database » UltraLite database connection parameters


Specifying file paths in an UltraLite connection parameter

The physical storage of your device determines:


Use absolute file paths when using the UltraLite engine to support multi-process access to a database since the engine may be started in different locations

The DBF parameter is most appropriate when targeting a single deployment platform or when using UltraLite desktop administration tools. For example:

ulload -c DBF=sample.udb sample.xml
Windows Mobile tip

You can use the UltraLite administration tools to administer databases already deployed to an attached device. See Windows Mobile.

Otherwise, if you are writing a cross-platform application, use the platform specific (CE_DBF, or NT_DBF) file connection parameters to construct a universal connection string. For example:

Connection = DatabaseManager::OpenConnection("UID=JDoe;PWD=ULdb;CE_DBF=\database\MyCEDB.udb;NT_FILE=MyDB.udb")
 Windows Mobile
 See also