Previous topic

sqlite_libversion

Next topic

sqrt

This Page

sqlite_openΒΆ

sqlite_open opens an SQLite database. If the database does not exist it will be created.

db = sqlite_open(ssFileName)

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

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.

id-1544725