tlind Posted April 2, 2009 Share Posted April 2, 2009 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 More sharing options...
lucianc Posted April 3, 2009 Share Posted April 3, 2009 Use $P!{..} in the query (mind the exclamation sign).HTH,Lucian Link to comment Share on other sites More sharing options...
tlind Posted April 3, 2009 Author Share Posted April 3, 2009 THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now