Viewing 15 posts - 47,026 through 47,040 (of 59,101 total)
Thanks, ehlinger ... I appreciate the detail. Just wanted to make sure you were "covered". Good "seeing" you again.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 9:15 pm
Michael Valentine Jones (11/24/2008)
Michael Valentine Jones (11/21/2008)
marty.seed (11/21/2008)
Sorry, good question. The next SundaySo if I was to pass in todays date I would get 11/23/08
What do you want it to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 9:11 pm
GOC (11/24/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 8:40 pm
jacroberts (11/24/2008)
timothyawiseman (11/24/2008)
jacroberts (11/24/2008)
Performance isn't always an issue as in my previous example.
I agree with Jeff that performance should always be a concern. After all, you may eventually need...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 8:23 pm
thisisfutile (11/24/2008)
Jeff Moden (11/24/2008)
jacroberts (11/24/2008)
... queried the table with 4000 rows in in less than 1 second.That's pretty slow and performance should be always an issue...
With all due respect Jeff,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 7:41 pm
Adam Machanic (11/24/2008)
I'll add that recursion isn't much better than a While loop and is sometimes worse.
I beg to differ. Recursion (in T-SQL) is always worse than a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:59 pm
Adam Machanic (11/24/2008)
Ed W. (11/24/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:53 pm
CheeseMan316 (11/24/2008)
Thanks for all the responses and thanks yuvalpe for identifying the original source of that query.
Actually, you need to look at the post just above yuvalpe's... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:44 pm
jeffery.baynard (11/24/2008)
Itzik uses RECURSION, even faster.With nums as
(
Select 1 as n
Union all
Select n+1 from nums where n < 10
)
Select n
From nums
As...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:40 pm
jacroberts (11/24/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:49 am
Or the worst, depending on how you look at it.
Is it me, or is it just the "language barrier"? Have these people no clue as to what a little...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:45 am
sqlizer (11/24/2008)
Why do you guys even reply, just delete his/her post.
Heh... part of his training to be a DBA. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:41 am
Heh... never mind... not enough coffee... this is a matrix they want and they want to be able to address the data by the individual elements using j,k coorinates. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:32 am
Then you don't need to do the formatting in the file you send because the spreadsheet is gonna format it the way it want's. In fact, you adding commas...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:25 am
If it's on the GUI side that you want to do this, then I'm not sure.
If it's on the SQL Server side of the house, a trip to Books Online...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 24, 2008 at 6:22 am
Viewing 15 posts - 47,026 through 47,040 (of 59,101 total)