Database[SQLite] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : SQLite : Database/SQLite/Finalize

Database[SQLite]

  

Finalize

  

finalize prepared statement

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Finalize( statement )

Parameters

statement

-

prepared statement obtained using Prepare command

Description

• 

The Finalize command finalizes the prepared SQL statement.

Examples

withDatabaseSQLite

Attach,Bind,ClearBindings,Close,ColumnCount,ColumnNames,Execute,Fetch,FetchAll,FetchRow,Finalize,Open,Opened,Prepare,RESULT_BUSY,RESULT_DONE,RESULT_ROW,Reset,Step

(1)

dbFileToolsJoinPathkernelopts'datadir',SQLite,G20-Population.db:

connectionOpendb:

Select data from table - prepare statement

stmtPrepareconnection,SELECT * FROM population

stmtSQLite statement,SELECT * FROM population

(2)

Fetch all rows

FetchAllstmt

(3)

Finalize the statement

Finalizestmt:

Closeconnection:

Compatibility

• 

The Database[SQLite][Finalize] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.