November 15, 2007 at 11:20 pm
Matt Miller (11/15/2007)
Gail - as to your test - I will try to dig out and use the XML data() trick, we'll let Jeff come up with the "pure" T-SQL trick, and you can handle the CLR?
I can try. I'll hopefully find 5 min today. I can't promise it will be the best performing CLR out there. I'm still much a novice with C
Sorry, things are just rather hectic right now.
Edit: i see Matt beat me to it. 😀
I thought that was how the XML trick worked. There's some very nifty tricks that can be dome with the new XML features. I particuarly like FOR XML TYPE in a subquery.
Jeff, I'm going to steal that concat function from you. I normally resrt to temp tables and cursors. :pinch:
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
November 16, 2007 at 10:42 pm
Jeff, I'm going to steal that concat function from you. I normally resrt to temp tables and cursors
Absolutely no problem, Gail... that's one of the highest forms of compliments I could ever ask for.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 16, 2007 at 11:08 pm
GilaMonster (11/15/2007)
Matt Miller (11/15/2007)
Gail - as to your test - I will try to dig out and use the XML data() trick, we'll let Jeff come up with the "pure" T-SQL trick, and you can handle the CLR?I can try. I'll hopefully find 5 min today. I can't promise it will be the best performing CLR out there. I'm still much a novice with C
Sorry, things are just rather hectic right now.
Edit: i see Matt beat me to it. 😀
I thought that was how the XML trick worked. There's some very nifty tricks that can be dome with the new XML features. I particuarly like FOR XML TYPE in a subquery.
Jeff, I'm going to steal that concat function from you. I normally resrt to temp tables and cursors. :pinch:
Sorry there Gail - I was hoping not to steal your thunder (thought you might have another idea on how to tackle). I just came across the old CLR UDA sample, and , well - it seemed appropriate....
Still - all of these seem to be pretty performant - so I'm thinking they all make the scrapbook...
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Viewing 3 posts - 61 through 62 (of 62 total)
You must be logged in to reply to this topic. Login to reply