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

SQL Anywhere 12.0.1 » UltraLite - Database Management and Reference » UltraLite database connections


UltraLite file path formats in connection parameters

The physical storage of your device determines whether the database is saved as a file and what naming conventions you must follow when identifying your database.


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

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