ph_sql_n PowerHome formula function
Description
Executes a SQL statement against the PowerHome database and returns the result as a numeric
Syntax
ph_sql_n ( sql )
Argument Description
sql String. A string containing the SQL select statement to run.
Return value
Double. Returns the result as a numeric 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.