PaulBarbeau
Programmer
I am trying to write a function where i pass in a list in of values like '1,2,3' and i want to return some information on the matching records. Normal i would build the sql string and then run it via exec(@sql) however exec does not work in a function. Anyone know how i can do this?
Paul
Paul