GeoffKell
asked on
1 dimensional array as input parameter to stored procedure
Anyone any code samples of how to pass a one dimensional array (70 elements) from VB into a SQL Server & stored procedure.
TIA
Regards
GK
TIA
Regards
GK
easiest ways are to create a csv string and parse it in the SP or to create a temp table in VB populate it and access it in the SP.
Check out the passing of a CSV to a stored procedure instead. I think you can then convert this csv into an array within the SP, but you won't be able to pass a variant type to an SP.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks - I expected that a delimited string would the way to go but needed a quick confirmation with, ideally, some code.
The link you provided did just the trick
Regards
GK
The link you provided did just the trick
Regards
GK