Database[SQLite]
Finalize
finalize a prepared SQL statement
Calling Sequence
Parameters
Description
Examples
Compatibility
Finalize( statement )
statement
-
prepared SQL statement obtained using the Prepare command
The Finalize command finalizes a prepared SQL statement.
withDatabaseSQLite:
db≔FileToolsJoinPathkerneloptsdatadir,SQLite,G20-Population.db:
connection≔Opendb:
Select data from table - prepare statement
stmt≔Prepareconnection,SELECT * FROM population
stmt≔SQLite statement,SELECT * FROM population
Fetch all rows
FetchAllstmt
Finalize the statement
Finalizestmt:
Closeconnection:
The Database[SQLite][Finalize] command was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
Download Help Document