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 |
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") |
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |