sqlite3_openΒΆ
sqlite3_open opens an SQLite database. If the database does not exist it will be created.
-
db = sqlite3_open(ssFileName)
Return Value
db is a database handle. This handle can be used to access the database. If the database cannot be opened or cannot be created, an exception is created.
Parameters
-
ssFileName
ssFileName is the complete database file name e.g.
"c:/database/test.db"
. If an empty string is given""
a temporary database is created, which will be deleted by a sqlite3_close call. If the string":memory:"
is given the database will be created in memory.
History
Version | Description |
---|---|
5.5.0 | New. |
See also
Overview SQLite, sqlite3_execute, sqlite3_close, GetExceptionInfo
id-1256205