...
Note | ||
---|---|---|
| ||
For MS SQL, the column type timestamp is not supported in tables accessed by the system. Use column type datetime instead. Please refer to the Notes section in the 9. Database Functions page for details on allowed database data type. |
...
Parameter | Description | ||
---|---|---|---|
| Name of the database where the table resides | ||
| SQL query to send to the database. Note that SQL statements must not end with ';'. Only columns of type number, date and string are supported. | ||
| An optional parameter to disable the commit statement from being performed at the end of every SQL transaction for this particular function. Setting this parameter to false will result in the commit statement to be being performed at the end of every SQL transaction for this particular function. By default, the system will have the disableCommit set to true unless otherwise changed via this parameter.
| ||
Returns | A table |
...
The tableLookup function returns a table containing all the rows of the original table matching the specified column value(s). At least one pair of (column, operator, value) group groups must be specified.
Code Block |
---|
table tableLookup ( table tableValue, int|string column1, string operator1, string|date|int value1, any value1a, //Optional (used only for "between" and "not between") ... int|column columnN, string operatorN, any valueN, any valueNa ) //Optional (used only for "between" and "not between") |
...