if a user chooses to request a lot of customers to report on say from a multi select listbox - what is the best way to pass this list to my stored proc? Looking for suggestions.
thanks,
Can you post some more details of what you want to do and how you have you are trying to achieve it right now? From the question you've posted it looks like you want to send so much details to your sproc.
hi,
you can use the ntext as a datatype for storing huge values in the sql server 2005.
The value changes dynamically ,so we can use
sqlcmd.paramters.add("paramter Name").value= @.value
By using the above syntax we can give input whatever the value is. but do remeber make the datatype of the field as ntext.
cheeers mate...
VIjay
|||
i apologize for being to vague, it's a sql 2000 db and if all options were selected and thrown into a column the field would exceed the 8000 characters, this has to be saved so the user could re-run the same row if they choose to, so as the users build these requests - they are saved to a db, now maybe i could write the selected lists to an xml file and then pass that into my stored proc paramaters, but i've never done anything like that, possibly save the xml file with a relation to the row and then when the users calls that tracking again - it knows to grab that xml file and feed it to the stored proc? possibly you have seen or done this before.
thanks,
Jeff
No comments:
Post a Comment