There is function Getfunctionname(userid, startdate, enddate)
to return a table
My question is can I pass a variable with multiple values?
i.e.
getfunctionname(@userid, startdate, enddate)
Where the value of variable @userid
is like
1
2
3
4
5
(actually using split
function splitting the values from being 1,2,3,4,5
)
If I can please let me know
Use the concept of
CSV
Example function:
One way of doing that which I prefer is to make a new user-defined table data type.
Then you can use that data type as one of the parameters