I have a problem with the syntaxis to use a UDF in an SQL:
- I have created an UDF which delivers a number.
- I would like to use this number for a condition in the WHERE option of a SELECT statement.
I would like to do this:
Function defined -->
SQL statement -->
where column_of_table = db.function(date)
Actually, it is a bit more complicated, but I would like to know if this is what I am doing wrong...