RunSQLQuery

Executes a SQL query and returns the result as an array.

Deprecated, use Database.executeSql instead

Core function

Syntax

RunSQLQuery( SQLQuery )

Parameters

Parameter Description
SQLQuery A string representing the SQL query to be executed.

Description

Returns an array of objects. Properties of these objects are named after the retrieved columns. Note that all columns to be retrieved must have names.

Examples

In the example above, jobName is assigned the job name of Job 1.

See Also

Database, Database.executeSql, Database.transaction

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.