Jump to content
We've recently updated our Privacy Statement, available here ×

Parameter Passing


tlind

Recommended Posts

Hi,

I need to pass a series of numbers separated by commas via a parameter.  I've created a string parameter (since it seems to be the only thing that will work) and it properly passes the contents to the sql query.  Is there a way however to not have it put single quotes on each end so it recoginizes the contects as numbers separated by commas and not as a single string of text?  

Looking at my SQl log on the server it is passing eg.  IN ('70971,90972') instead of IN (70971,70972).

Any thoughts?

Thanks!

 



Post Edited by Todd Lind at 04/02/09 20:23
Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...