General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Passing an array of integers to a sp
i would like to pass an array of integers to a stored procedure from an asp.net application to use like:
strsql = "SELECT * FROM table WHERE ID IN (@array)"
can this be done? if so, how do i do this? i can send a string to the stored procedure but it doesnt return any results because the it is expecting to match on an int.
thanks in advance,
tim
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only