Viewing 15 posts - 47,506 through 47,520 (of 59,095 total)
Heh... here's just some of the problems you can run into if you mess around with dates, times, and durations...
http://www.sqlservercentral.com/Forums/Topic595094-8-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 10:48 am
Michael Valentine Jones (10/31/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 31, 2008 at 9:45 am
Jonathan Kehayias (10/30/2008)
As resistent as you are to CLR inside SQL, it is actually becoming more and more popular, even among MVP's for things just like this.
Heh... even though...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2008 at 7:18 pm
You don't need a counter for that... just store a date on every row and then count the rows in a data range.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2008 at 7:12 pm
jlcampos71 (10/29/2008)
I almost Figured that out... but I didn't at all... I was figuring out that I should make in fact, 3 passes, because there is a second...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2008 at 6:46 pm
No problem... thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2008 at 6:35 pm
J (10/30/2008)
UPDATE Products
SET @PrevF2 = F2 = CASE WHEN F2 IS NULL THEN @PrevF2...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 30, 2008 at 6:26 pm
Lynn Pettis (10/29/2008)
Jeff, I guess I should add that one to my sig block as well.
Seems like there have been a lot of reasons to use it, lately.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 10:16 pm
jsteinbeck (10/29/2008)
I'll check it out...
But i did figure it out, see my other post
Running Total isn't working in the UPDATE CLAUSE... doesn't that look...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 10:15 pm
jlcampos71 (10/29/2008)
I might sound like a beginner next to you but this is the best I have found...
I have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 10:11 pm
Solution eventually reached at the following URL...
http://www.sqlservercentral.com/Forums/Topic593999-8-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 8:01 pm
If you'd always like it to return Jan - Mar of the CURRENT year, then you don't even need to know what the current year is...
SELECT ID
...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 7:57 pm
evaleah (10/29/2008)
I deployed it to SQL 2005 and it appears in the Assembly area. The routine creates an iCalendar formatted email message and then sends...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 7:44 pm
Why? Try this and see why I ask... ask yourself "What is 1 divided by 3 times 3?" π
DECLARE @A DECIMAL(3,0), @b-2 DECIMAL(18,0),@F FLOAT
SET @A = 3
SET...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 7:30 pm
Is the "autoshrink" option turned on on TempDB??? If so, it must be turned off!.
Also, you need to figure out what the largest it will grow to, add 20 or...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 29, 2008 at 7:23 pm
Viewing 15 posts - 47,506 through 47,520 (of 59,095 total)