Is it possible to execute a SELECT query as an argument to a function? Example:
SELECT my_func('Sample', NULL, SELECT MIN(year) FROM audio); In my particular case, my_func inserts columns into another table; I wish to use values from another table as the arguments. The interior SELECT will return only a single value; perhaps it needs to be wrapped in another function? TIA. Mike. -- Michael Burke [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings