Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using IN() and parameter
Message
 
 
To
07/02/2013 17:57:24
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01565428
Message ID:
01565446
Views:
47
>>BTW, why did you pick up such an ugly function?
>>
>>Why not
>>
>>http://sqlblog.com/blogs/aaron_bertrand/archive/2010/07/07/splitting-a-list-of-integers-another-roundup.aspx
>>
>>or
>>
>>http://www.sqlservercentral.com/articles/Tally+Table/72993/
>>
>
>First hit on Google. I didn't even look at the code to decide if it's beautiful or not. I just need something that works.

Strange. Anyway, I suggest to better try something from the links I gave you or you can also look this long article by Erland Sommarskog (and he also shows how to do TVP as well)

http://www.sommarskog.se/arrays-in-sql.html

BTW, his TVP article is really great! I just glanced through the first part of it.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform