FinishDatabaseQuery()
语法
FinishDatabaseQuery(#Database)概要
Finish the current database SQL query and release its associated resources. Query related functions like FirstDatabaseRow() or NextDatabaseRow() can't be used anymore.
参数
#Database The database to use.
返回值
无.
示例
; First, connect to a database with an employee table ; If DatabaseQuery(#Database, "SELECT * FROM employee") ; Get all the records in the 'employee' table While NextDatabaseRow(#Database) ; Loop for each records Debug GetDatabaseString(#Database, 0) ; Display the content of the first field Wend FinishDatabaseQuery(#Database) EndIf
参阅
DatabaseQuery()
已支持操作系统
所有