Interested in improving this site? Please check the To Do page.

Back to SQLite Verbs

sqlite.close

Closes an SQLite database file.

Syntax

sqlite.close(dbID)

Params

dbID is the database ID returned by sqlite.open.

Returns

An SQLite result code.

Examples

on createDatabase () {
	local (db);
	db = sqlite.open("C:\\temp\\testdatabase.db3");
	sqlite.close(db)}

Notes

Most likely, you should call sqlite.open within a try statement. If the open fails, a scriptError will be triggered.

See Also


Personal Tools