sqlite_open opens an SQLite database. If the database does not exist it will be created.
Return Value
db is a database handle. This handle can be used to access the database. If the database cannot be opend or cannot be created, an exception is created.
Parameters
ssFileName is the complete database file name e.g. "c:/database/test.db". If an empty string is given "" a tempory database is created, which will be deleted by a sqlite_close call. If the string ":memory:" is given the database will be created in memory.
History
| Version | Description |
|---|---|
| 4.2.0 | New value for parameter ssFileName: "" and ":memory:". |
| 3.6.0 | New. |
See also
Overview sqlite, sqlite_execute, sqlite_close, GetExceptionInfo
id-1544725