February 16, 2011 at 7:31 am
GSquared (2/16/2011)
Fal (2/16/2011)
Koen Verbeeck (2/15/2011)
Fal (2/15/2011)
WayneS (2/15/2011)
Can anyone point me to a delimited split function that works on a varchar(max)? I know that Jeff's DelimitedSplit8K works on up to a varchar(8000), and I seem to recall that there were performance issues going beyond that.Well, at great risk of embarrassing myself in front of some big names with my initial post on this thread, this is what I've got:
...
I knew I should've lurked longer. But no, I had to help someone! ๐
Steve.
I blame Wayne. Execution at noon.
What's the process for a SQL Server Central execution? Do you highlight him and press F5?
--------------------------------------
When you encounter a problem, if the solution isn't readily evident go back to the start and check your assumptions.
--------------------------------------
Itโs unpleasantly like being drunk.
Whatโs so unpleasant about being drunk?
You ask a glass of water. -- Douglas Adams
February 16, 2011 at 7:39 am
GSquared (2/16/2011)
I blame Wayne. Execution at noon.
Who's noon?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 16, 2011 at 7:53 am
Jeff Moden (2/16/2011)
WayneS (2/15/2011)
Can anyone point me to a delimited split function that works on a varchar(max)? I know that Jeff's DelimitedSplit8K works on up to a varchar(8000), and I seem to recall that there were performance issues going beyond that.I've got a new splitter I've been working on for the revision of the Tally Table article. It absolutely screams on 8k even compared to the old DelimitedSplit8K. Since it's bad mojo to post code on the thread, I'll send it to you tonight... I could use a little help testing it. ๐
Jeff - I would be interested in testing it as well if possible.
David
@SQLTentmakerโHe is no fool who gives what he cannot keep to gain that which he cannot loseโ - Jim Elliot
February 16, 2011 at 7:53 am
GilaMonster (2/16/2011)
GSquared (2/16/2011)
I blame Wayne. Execution at noon.Who's noon?
No, Who's on first.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
February 16, 2011 at 7:55 am
Jeff Moden (2/16/2011)
WayneS (2/15/2011)
Can anyone point me to a delimited split function that works on a varchar(max)? I know that Jeff's DelimitedSplit8K works on up to a varchar(8000), and I seem to recall that there were performance issues going beyond that.I've got a new splitter I've been working on for the revision of the Tally Table article. It absolutely screams on 8k even compared to the old DelimitedSplit8K. Since it's bad mojo to post code on the thread, I'll send it to you tonight... I could use a little help testing it. ๐
Thanks! Looking forward to seeing this.
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
February 16, 2011 at 8:47 am
GSquared (2/16/2011)
GilaMonster (2/16/2011)
GSquared (2/16/2011)
I blame Wayne. Execution at noon.Who's noon?
No, Who's on first.
I don't know!
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
February 16, 2011 at 8:50 am
Jack Corbett (2/16/2011)
GSquared (2/16/2011)
GilaMonster (2/16/2011)
GSquared (2/16/2011)
I blame Wayne. Execution at noon.Who's noon?
No, Who's on first.
I don't know!
Third base!
February 16, 2011 at 9:29 am
Just to clarify, there is nothing wrong with tech talk around the water cooler as long as it is kept quite short.
If you start going into details, that's when it needs to move to a separate thread.
February 16, 2011 at 9:35 am
GSquared (2/16/2011)
GilaMonster (2/16/2011)
GSquared (2/16/2011)
I blame Wayne. Execution at noon.Who's noon?
No, Who's on first.
Not me, got K-ed out again last Saturday :w00t:
February 16, 2011 at 2:31 pm
Lynn Pettis (2/13/2011)
I said I'd stay out of MasterBlasters thread, and I will. What he doesn't seem to get is that there was a better way to respond to Gus's comment without getting personal, which is what I took offense to and call insulting.All he had to do was say something like this: That's three possibilities, but couldn't this, that, or another thing have also been a possibilty?
That would have been much better and without any personal attack.
Just a thought if someone else would like to see how he'd take that type of constructive critisism.
Just got around to reading that thread and it really went sideways. It started off fine - but isn't worth the reading after the first few posts.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 16, 2011 at 2:34 pm
WayneS (2/13/2011)
Are any Threadizens going to SQL Saturday #69 (Philadelphia) on March 5? I just read the email where my presentation has been selected to be presented! :w00t::w00t::w00t:I'd love to meet any of you'll that are there!
Congrats - not sure I can make it
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 16, 2011 at 2:44 pm
GilaMonster (2/16/2011)
GSquared (2/16/2011)
I blame Wayne. Execution at noon.Who's noon?
Everybody's. We get to have multiple executions for this infraction.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 16, 2011 at 2:50 pm
For the execution of Wayne:
--get spid of code requestor
sp_whorequestedcodeIntheThread 'Wayne'
--use returned spids to verify the request
dbcc inputbuffer(61)
--output
'Wayne definitely requested code on the thread'
--yup that's the one
Kill 'Wayne'
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
February 16, 2011 at 6:06 pm
Brandie Tarvin (2/16/2011)
... But I'd avoid dark alleys, if I were you....
Well, there goes the joy in life.
But wait, you mentioned something about "tar and feathers"??
Steve.
February 16, 2011 at 6:31 pm
CirquedeSQLeil (2/16/2011)
For the execution of Wayne:
--get spid of code requestor
sp_whorequestedcodeIntheThread 'Wayne'
--use returned spids to verify the request
dbcc inputbuffer(61)
--output
'Wayne definitely requested code on the thread'
--yup that's the one
Kill 'Wayne'
just one bad underscore in the name of that sp could change its meaning entirely. ๐
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 15 posts - 24,031 through 24,045 (of 66,749 total)
You must be logged in to reply to this topic. Login to reply