Viewing 15 posts - 43,441 through 43,455 (of 59,063 total)
First, do not use BETEEN for this. It will give the incorrect answer.
Second, the following code is totally untested because you've provided no test data. If you're interested,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 12:33 pm
Bruce W Cassidy (6/11/2009)
I have to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2009 at 11:51 am
benoit.rocco (6/11/2009)
Thank you very much for your answer but I already found the response. I deleted my message but apparently it didn't work.
Cool. Tell us what it was. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2009 at 9:19 pm
Heh... that chart shows a high potential for performance problems... 2Mb temp table. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2009 at 9:15 pm
I'd still like to know what the OP is going to do with the dates once they are converted.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2009 at 9:13 pm
balars_2000 (6/10/2009)
The query is working fine and listing all week numbers and dates.
However, I am interested in week day starting Mondays which is 05/01 for current...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2009 at 9:00 pm
GSquared (6/11/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2009 at 9:12 am
http://www.sqlservercentral.com/Forums/Topic695088-149-1.aspx#bm695796
bpowers (4/13/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 10:15 pm
abhavsar (6/10/2009)
FROM Summary_D
Brings data in following format.
May 17 2009 12:00AM
May 18 2009 12:00AM
May 22 2009 12:00AM
May 26 2009 12:00AM
May 27 2009 12:00AM
Jun 1 2009 12:00AM
May 20 2009 12:00AM
May...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 9:41 pm
jagadish_sds (6/10/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 9:37 pm
christian_nowicki (6/10/2009)
Peso (6/9/2009)
And it's also well established thatABS(CHECKSUM(NEWID())) % 100
gives random numbers between 0 and 99 with very high, good and even distribution.
I like this solution - it is simpler...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 9:35 pm
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 Server supports UTF-8?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 9:16 pm
balars_2000 (6/10/2009)
thanks jeff.
You bet. Thanks for the feedback. So, are you all set or do you have a remaining question?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 8:39 pm
It's what you can't see that makes the difference... the following is a very good article on the subject...
http://www.joelonsoftware.com/articles/Unicode.html
As a side bar, it took me about 2 minutes to...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 8:27 pm
{insert jeaopardy them song here} Heh... I'll just bet someone talked him into a cursor solution.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 10, 2009 at 8:00 pm
Viewing 15 posts - 43,441 through 43,455 (of 59,063 total)