ph_sql_t PowerHome formula function
Description
Executes a SQL statement against the PowerHome database and returns the result as a time.
Syntax
ph_sql_t ( sql )
Argument |
Description |
sql
|
String. A string containing the SQL select statement to run.
|
Return value
Time. Returns the result as a time value. The SQL may return multiple rows, but only data from the first row will be returned by the function. The SQL should only return a single column of data.