February 16, 2011 at 6:32 pm
Fal (2/16/2011)
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.
Mmmmmm. Makes the perfect coating for high velocity pork chops. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2011 at 6:33 pm
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:
...
Is that ... SQL code? In THE thread?
Uh oh...
Craig Farrell (2/15/2011)
You got your code in my THREAD! ARGGGHHH... We need to take this outside!Oh no...
Brandie Tarvin (2/16/2011)
Well, since someone broke the "no technical talk in The Thread" rule...D'OH!
I knew I should've lurked longer. But no, I had to help someone! 😛
Steve.
I blame Wayne. Execution at noon.
Heh... "death" by pork poisoning. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2011 at 10:12 pm
Jeff Moden (2/16/2011)
Fal (2/16/2011)
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.
Mmmmmm. Makes the perfect coating for high velocity pork chops. 😉
CREATE FUNCTION ufn_OptimizePorkChop
AS
INSERT INTO PorkChop ( covering) VALUES ('Tar')
INSERT INTO Porkchop (covering) VALUES ( 'Feathers')
RETURN SELECT MAX( velocity) FROM PorkChop
GO
Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.
For better assistance in answering your questions[/url] | Forum Netiquette
For index/tuning help, follow these directions.[/url] |Tally Tables[/url]
Twitter: @AnyWayDBA
February 16, 2011 at 11:30 pm
Jeff Moden (2/16/2011)
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. 😛
Great, I'm glad I'm not the only one with a dirty mind 😀
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
February 17, 2011 at 1:01 am
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'
Craig Farrell (2/16/2011)
CREATE FUNCTION ufn_OptimizePorkChopAS
INSERT INTO PorkChop ( covering) VALUES ('Tar')
INSERT INTO Porkchop (covering) VALUES ( 'Feathers')
RETURN SELECT MAX( velocity) FROM PorkChop
GO
[/code]
Code brings more (pseudo)code, it seems...
Definitely kill the one who started this on THE THREAD!
:-D:-D
-- Gianluca Sartori
February 17, 2011 at 1:27 am
Gianluca Sartori (2/17/2011)
Code brings more (pseudo)code, it seems...Definitely kill the one who started this on THE THREAD!
:-D:-D
I'll go fetch the angry mob! 🙂
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
February 17, 2011 at 1:42 am
You guys are so supportive!:-D 😛
Don't know what I'd do without you... oh wait, yes I do! :w00t:
Wayne
Microsoft Certified Master: SQL Server 2008
Author - SQL Server T-SQL Recipes
February 17, 2011 at 2:36 am
Koen Verbeeck (2/17/2011)
Gianluca Sartori (2/17/2011)
Code brings more (pseudo)code, it seems...Definitely kill the one who started this on THE THREAD!
:-D:-D
I'll go fetch the angry mob! 🙂
There's a few of them roaming around locally. Want to borrow?
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 17, 2011 at 2:40 am
GilaMonster (2/17/2011)
Koen Verbeeck (2/17/2011)
Gianluca Sartori (2/17/2011)
Code brings more (pseudo)code, it seems...Definitely kill the one who started this on THE THREAD!
:-D:-D
I'll go fetch the angry mob! 🙂
There's a few of them roaming around locally. Want to borrow?
Interesting avatar, Gail. But... what is it exactly?
What happened to Qui-Gon Jinn?
-- Gianluca Sartori
February 17, 2011 at 2:47 am
Gianluca Sartori (2/17/2011)
Interesting avatar, Gail. But... what is it exactly?
It's a Gila Monster. 😀
What happened to Qui-Gon Jinn?
Taking a vacation. He'll be back soon (probably after I get back from Canada/USA)
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 17, 2011 at 5:02 am
Jeff Moden (2/16/2011)
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. 😛
You know, I was just thinking that. I misread that sproc at first and thought "WHAT THE HECK?"
ROTFLOL.
February 17, 2011 at 5:03 am
Koen Verbeeck (2/17/2011)
Gianluca Sartori (2/17/2011)
Code brings more (pseudo)code, it seems...Definitely kill the one who started this on THE THREAD!
:-D:-D
I'll go fetch the angry mob! 🙂
I'll supply the torches! (Who's responsible for the pitchforks?)
February 17, 2011 at 6:27 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. 😛
Hey Jeff, could I have a peek?
P.S. My mind was in the gutter too.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills
February 17, 2011 at 6:32 am
I rarely blog about technical stuff, mostly about writing. Today, I blogged about SQL Server and fragmentation. (It's a rephrase of something I just posted in another thread).
If anyone is interested, would you mind taking a look and commenting? I'm looking for constructive reviews and better links than the ones I've found. I'd greatly appreciate the feedback.
February 17, 2011 at 6:57 am
Koen Verbeeck (2/16/2011)
Jeff Moden (2/16/2011)
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. 😛
Great, I'm glad I'm not the only one with a dirty mind 😀
when I saw it my FIRST thought was 'that should really be prefixed usp_' - what does that say about me?
---------------------------------------------------------------------
Viewing 15 posts - 24,046 through 24,060 (of 66,749 total)
You must be logged in to reply to this topic. Login to reply