Viewing 15 posts - 43,591 through 43,605 (of 59,101 total)
Borrowing on John's good data creation code and assuming the column is actually a VARCHAR instead of a char, here's a super simple way to take care of double, triple,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 8:29 pm
Ack... my apologies... Lynn already pointed out the {f1} key. Sorry for the duplication of information.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 6:22 pm
Lynn Pettis (6/5/2009)
GilaMonster (6/5/2009)
Lynn Pettis (6/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 3:44 pm
To add to what Gail said, "Books Online" or "BOL" is the help system that comes free with SQL Server and can normally be reached just by pressing the {f1}...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 3:38 pm
Gianluca Sartori (6/5/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 9:25 am
jcrawf02 (6/5/2009)
Gianluca Sartori (6/5/2009)
I don't know if this is a proof, but for sure it is "half a proof".Regards,
Gianluca
Does that make it a theorem?
Heh... in theory. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 9:21 am
The use of cmd files to execute sql is a powerful tool that is underutilized...
I absolutely agree with that. And, old or not, the idea is "there". A...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 8:27 am
Bruce W Cassidy (6/4/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 7:38 am
Gianluca Sartori (6/5/2009)
Jeff Moden (6/4/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2009 at 7:33 am
You actually store dates like 1/12/2009 in that format in a calendar table? What do you use those for? I'm asking because I'm curious. I've never seen...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 10:19 pm
Bruce W Cassidy (6/4/2009)
Jeff Moden (6/4/2009)
[...]don't store formatted dates in a table... not even a reporting table.
[font="Verdana"]We could have an argument about that, but in general I believe you are...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 9:00 pm
To add to what Luke has already stated, do a simple but powerful test that will prove that storing the formatted date in the table is absolutely the wrong thing...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 8:22 pm
Datamama (6/4/2009)
... and btw - every great DBA I have ever worked with sounds just like you.Josie
Heh... thanks Josie :blush:. Every good one I've worked with sounds the same...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 7:49 pm
WayneS (6/4/2009)
Paul, I do believe that you found what was going on.Now, I searched the net for hours, and never found any of these articles. How did you do it?
I...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 7:21 pm
Paul White (6/4/2009)
Jeff Moden (6/4/2009)
Here's the reason why I use Index(0) instead of Index(1). From BOL:
Cheers Jeff - it was your motivation in including the hint I was after...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 4, 2009 at 6:11 pm
Viewing 15 posts - 43,591 through 43,605 (of 59,101 total)