Does anybody know how can I get the where part of an SQL in a UDF.
I can get the columns involved in the SQL but i also want the part of the SQL that comes after the where.
I could not find that in the documentation but i know it is posible because I saw that DB2 view, which is a UDF, is sending the entire SQL thru ODBC.