Viewing 15 posts - 47,026 through 47,040 (of 59,064 total)
Ria (11/21/2008)
Thanks Phil..It works now
Umm... what about the things that start with "A"?
November 23, 2008 at 5:41 pm
The answer is, what day of the week did date "0" occur on? Then, look at the (-1) and all will become clear.
November 23, 2008 at 5:30 pm
Mad-Dog (11/23/2008)
thanks for your replays.i can't touch the query because it come directly from the ERP(Priority).
can i do something else (beside DTA)to check this query to get better performance?
THX
Ok... no...
November 23, 2008 at 5:14 pm
Grant Fritchey (11/23/2008)
November 23, 2008 at 8:35 am
Man, I'm with Jack... use 2 or 3 part naming in the FROM clause, add aliases, and then use the aliases everywhere else. Done properly, it makes the code...
November 23, 2008 at 8:19 am
Grant Fritchey (11/23/2008)
November 23, 2008 at 8:11 am
Grant Fritchey (11/23/2008)
November 23, 2008 at 7:11 am
I agree with Gail... you need to tell us "Why" you want/need to do this to make sure we give you the best solution.
November 23, 2008 at 6:59 am
Ok... the Billion row results are in. On the orignal code that Russ submitted (looks like modification of Itzek's code),
Insert Duration - 00:29:00
Convert column to NOT NULL -...
November 23, 2008 at 6:29 am
Is that true, Gail? Is there a book out there with your good name in it as a co-author?
November 22, 2008 at 9:03 pm
Lynn Pettis (11/22/2008)
Jeff Moden (11/22/2008)
GAAAA!!!http://www.sqlservercentral.com/Forums/Topic606992-65-1.aspx
Yep, the record's stuck, the record's stuck, the record's stuck, the record's stuck...
Heh... the kinder gentler me posted on that one, thought better of it, and...
November 22, 2008 at 8:38 pm
Heh... sorry, Perry... bit of an inside joke. I'll explain it sometime, but not here.
November 22, 2008 at 6:30 pm
November 22, 2008 at 4:30 pm
"KISS" it...
SELECT DATEADD(wk,DATEDIFF(wk,0,somedatetimevalue+7),0)-1
November 22, 2008 at 4:04 pm
You don't need to write anything to get what you want. Just run the following and some of the things it returns are things like Min, Max, and Average...
November 22, 2008 at 3:44 pm
Viewing 15 posts - 47,026 through 47,040 (of 59,064 total)