DatabaseColumnIndex()

语法

Result = DatabaseColumnIndex(#Database, ColumnName$)
概要
Returns the index of the column after executing a query with DatabaseQuery() in the opened #Database. This can be useful for use with commands like GetDatabaseLong() which require a column index.

参数

#Database The database to use.
#ColumnName$ The name of the column to get the index of.

返回值

Returns the index of the specified column. This is only valid after having executed a query with DatabaseQuery().

参阅

DatabaseQuery(), GetDatabaseBlob(), GetDatabaseDouble(), GetDatabaseFloat(), GetDatabaseString(), GetDatabaseQuad()

已支持操作系统

所有

<- CloseDatabase() - Database Index - DatabaseColumnName() ->