Viewing 15 posts - 1 through 15 (of 128 total)
I stumbled across this abandoned post today while attempting to address the same issue, and thought I'd update it with my conclusion: It's simply not possible to specify the "OPTION...
October 25, 2012 at 11:37 am
Chris.C-977504 (7/19/2012)
Then why wasn't there a push to have a day sliced into 10 hours, an hour sliced into ten minutes, and a...
July 19, 2012 at 1:47 pm
djackson 22568 (7/19/2012)
I also appreciate that someone else is willing to point out there is no 12:00 AM or PM!
OK, I didn't understand the reference the first time, but now...
July 19, 2012 at 12:54 pm
GSquared (7/19/2012)
Tao Klerks (7/19/2012)
Lynn Pettis (7/19/2012)
July 19, 2012 at 12:33 pm
Lynn Pettis (7/19/2012)
July 19, 2012 at 11:44 am
paul.knibbs (7/19/2012)
July 19, 2012 at 9:02 am
SQLBill (7/17/2012)
Tao Klerks (7/17/2012)
By using GetDate(), which returns a local time without timezone information, you're already doomed to fail at accurately converting between time zones:
GETDATE() returns the server time. That...
July 17, 2012 at 3:12 pm
Chris.C-977504 (7/17/2012)
GetDateUtc() would return UTC time according to the server.
The naming's not exactly what you're asking for, but the function exists:
SELECT GetUTCDate()
July 17, 2012 at 7:34 am
You are of course right that working with dates in T-SQL could be much easier, but the example you propose cannot work correctly, in any system, ever:
July 17, 2012 at 4:10 am
Quick update on this thread, the latest version of this formatter was published today, including Notepad++ plugin, SSMS 2012/Demali support, a couple of translations (French/Spanish), pipeline support on the command-line...
March 12, 2012 at 10:45 am
Thanks Hugo,
Great question, and between your form and Paul's I now have 2 more cases that my T-SQL formatter doesn't handle correctly; at least it's not mangling the SQL, but...
December 6, 2011 at 6:19 am
the simplest thing is to send me two things, for each situation where you'd like the result to be different:
You...
September 20, 2011 at 2:50 pm
Tao Klerks (9/20/2011)
September 20, 2011 at 2:29 pm
Thanks for the feedback gvarol!
#1: I think you can just uncheck the "Expand Comma Lists" option, or am I missing something? If you want to wrap based on a specific...
September 20, 2011 at 2:20 pm
Thanks!
September 15, 2011 at 4:22 am
Viewing 15 posts - 1 through 15 (of 128 total)