Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
opusid
Starting Member
4 Posts |
Posted - 2007-11-27 : 10:39:28
|
Hi GuysJust a small problem, but not having much luck. I need a stored proceedure which will search a table containing the following fields using a string supplied by asp.StringLU1,LU2,LU3,LU4,LU5 - the string can be any length (well within reason anyway)Table (name: traderspostcodes)PrimerID (int) - example: '12'Postcode (navarchar) - example 'LU1 2CD'TraderID (int) - example: '234'What I need is to know the number of records which match any of the variables in the supplied string.Kind regardsSteve |
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-11-28 : 01:48:30
|
http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htmMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|