Viewing 15 posts - 43,456 through 43,470 (of 59,097 total)
darryl (6/12/2009)
I am working on some sql to be used in a report. I have a transaction table called prtrxp. This table has about 100 fields....
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:31 pm
Ok... problem solved... you think. A better question is, what are you using a cursor for?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:23 pm
I believe I'd tell the manager off. It's not his neck if data is inappropriately deleted... it's mine.
I would insist on moving the data to a subdirectory off the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:22 pm
If all you want is to calculate week days, there's a very short function at the following article.
http://www.sqlservercentral.com/articles/Advanced+Querying/calculatingworkdays/1660/
If you want work days instead of week days, I suggest...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:06 pm
Paul McCurdy (6/12/2009)
value1 >= value2 AND value1 <= value3
was quicker by a few seconds than
value1 BETWEEN value2 AND value3
I know, not my understanding either and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 9:00 pm
siboyd07 (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 8:06 pm
RBarryYoung (6/10/2009)
Jeff Moden (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:49 pm
Terri (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:36 pm
RBarryYoung (6/11/2009)
Jeff Moden (6/10/2009)
RBarryYoung (6/10/2009)
What you should be able to see however is that the Unicode .sql file is about twice the size of the Ascii one.
Any idea if SQL...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:17 pm
GSquared (6/11/2009)
So far as I can tell, that's pretty much been the end result of every one of our disagreements. It's just a matter of clarification.
Heh... I concur... but...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:07 pm
Steve Jones - Editor (6/8/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 7:03 pm
Barry and Lynn... thanks for the huge compliment. You guys are gonna make me blush. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 6:57 pm
David Jackson (6/11/2009)
do we not need the following in the last part of dynamic SQL?
+ 'WHERE (BusinessDate >= ''' + CONVERT(CHAR(10),@FiscalYearStartDate,101) + ''' and...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 6:49 pm
David Jackson (6/12/2009)
David Jackson (6/11/2009)
Jeffdo we not need the following in the last part of dynamic SQL?
I have noticed if you do put the date range in the where clause,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 6:48 pm
Greg Edwards (6/10/2009)
Fiscal Calendars can change. And in Jeff's example, what happens next year?Greg E
Jeff -
I like my chops well done, with some Gates BBQ sauce. :w00t:
Heh... nah... I'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 6:05 pm
Viewing 15 posts - 43,456 through 43,470 (of 59,097 total)