Viewing 15 posts - 50,716 through 50,730 (of 59,099 total)
Marius Els (5/7/2008)
This is a great example of implementing set-based programming, three thumbs up from me.
Now to apply this to problems going forward!
Thanks for...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 9:44 pm
Mike DiRenzo (5/7/2008)
I look back on all the TSQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 9:41 pm
Carl Federl (5/7/2008)
The first reference for a tally table that I can recall is in "Guide to Sybase and SQL Server" by C. J. Date...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 9:37 pm
chris (5/7/2008)
No need for a tally or temporary tables.
Heres a params example:
DECLARE @Params varchar(8000)
SET @Params...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 9:27 pm
karthikeyan (5/7/2008)
Excellent Article!
It seems that you have written for me at the right time.:) Really, It is very useful for me.
Because so far i have replaced more than 5 cursors...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:53 pm
Chirag (5/7/2008)
nice article jeff.Here's another one with more uses of tally table.
http://www.simple-talk.com/sql/t-sql-programming/the-helper-table-workbench/
Thanks for the compliment, Chirag.
Yeah, they do have some neat uses on that particular link. It's very strange...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:50 pm
Calvin Lawson (5/7/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:38 pm
RyanRandall (5/7/2008)
Nice work, Jeff. That plural table name must've been difficult for you to come to terms with 😀
Heh... it kept me up all bloody night! But "When in...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:36 pm
Shamshad Ali (5/7/2008)
My quewtion is related to replacing loop, I am very interested on this. coz i really want to improve performance and I can't find a way to...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:34 pm
Heh... remember, you asked what could be done to make this more readable...
Here's one of your inserts including the indentation I found when I copied it... quick, you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:06 pm
Keith DuAime (5/7/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 6:35 pm
You folks are absolutely the Best! I'm humbled by your awesome compliments and the testing that alot of you have taken the time to do and post.
I've got a...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 8:07 am
You do realize that code will remove all single rows, correct?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 7:50 am
Michael Meierruth (5/7/2008)
Heh... to be clear, I've never written a cursor except to show how slow they are... :hehe:
Given that Jeff is in luv with cursors, we all really need...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 7:41 am
shamshudheen (5/7/2008)
how i use COALESEC function for the following code
SET @strValList2 = ''
SELECT @strValList2 = @strValList2 +
CASE
WHEN vColName IS NOT NULL THEN '[' + vColName + ']'
WHEN vColName IS NULL...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 7, 2008 at 7:36 am
Viewing 15 posts - 50,716 through 50,730 (of 59,099 total)