SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Article: Passing an array of values to SQL Server (Stored Procedure) without parsing/string manipula
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 03/26/2007 :  08:58:40  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Harsh sent us this one. He writes "Just came across the post on how to pass array of values without normal CSV parsing on Tony Rogerson's blog." Tony uses dynamic SQL to parse out the values in the string.

Article Link.

jsmith8858
Dr. Cross Join

USA
7423 Posts

Posted - 03/26/2007 :  09:29:03  Show Profile  Visit jsmith8858's Homepage  Reply with Quote
What is the advantage of this technique over any other? I can't think of one reason to do it this way. I see lots of cons (dynamic sql, temp tables, no UDF's, can't use in a VIEW, limited to size of the numbers table) and no pros.

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000