Hi ALL,
I would like to use a user-defined function in a SQL statement, to produce a record set. The function will be used in a SQL statement.
Within the function, a number of SQL statements will be executed to generate a record set, which will be returned and used in the SQL statement.
Does it make sense to do this using a user-defined function?
Is there any alternative method?
Thanks