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