There is any chance to pass arrays to SQL Functions from .NET C#.
Thanks in advance.
Sincerely.
And Could you show me how ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With SQL Server 2008, yes, using table-valued parameters. With SQL Server 2005, you’d have to wrap the data in XML and decompose it using XQuery in your T-SQL function.
NB: you can only pass table-valued parameters to stored procs–not to functions.
From the link: