Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing list of keys to a sproc to get recordset
Message
From
30/09/2009 14:36:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Desktop
Miscellaneous
Thread ID:
01425870
Message ID:
01426958
Views:
35
>>>>Yeah it would be fast if it worked:) Try Jeff Moden's code instead (I gave a link before).
>>>>
>>>
>>>Do you mean you want it for more than 8000 chars or more than 100 max recursion?
>>
>>Yeah, pick whichever you want.
>>Cetin
>
>Yes, in this case we need to use varchar(max) as a parameter and maxrecursion = 0 (no limit)
>
>See http://smehrozalam.wordpress.com/2009/06/09/t-sql-using-common-table-expressions-cte-to-generate-sequences/
>
>Can you post both versions of the split function code and your tests results in terms of speed / query plan?
>
>See for more discussion here http://forum.lessthandot.com/viewtopic.php?f=17&t=7566&st=0&sk=t&sd=a

No I don't think that you should need to adjust maxrecursion yourself (and if there is a non recursion alternative I would prefer).

If you search for Jeff Moden here you would find the sample (I don't know why 'copy' didn't work this time.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform