Viewing 15 posts - 841 through 855 (of 5,590 total)
... Check out Lynn's date/time conversions blog post. The link is in my signature block below.
June 13, 2012 at 12:45 pm
Gotta love it when my messed up solution (unused cte) actually worked and solved it.
... Actually, I just plain forgot to remove it. I think they call that A-G-E???
June 13, 2012 at 12:41 pm
This seems like it works:
WITH SAMPLE (REFERENCE_ID,TECH_MODE_ID,BEGIN_TIME,END_TIME) AS
(
SELECT 1, 6, CONVERT(DATETIME,'2012-05-03 20:29:22'),CONVERT(DATETIME,'2012-05-03 20:29:52') UNION ALL
SELECT 1, 5, '2012-05-03 20:29:53','2012-05-03 20:29:55' UNION ALL
SELECT 1, 5, '2012-05-03 20:29:56','2012-05-03 20:30:03' UNION ALL
SELECT 1,...
June 13, 2012 at 11:37 am
I'm assuming that your table has columns like:
cs1_start, cs1_end, cs2_start, cs2_end, etc.
Is there any particular reason that you didn't create a properly normalized, separate table for this data?
userId
courseId
start
end
(FK link back...
June 13, 2012 at 10:59 am
Okay, so I've been pretty busy lately. And I just got back from going on the "SQL Cruise". Friday I was up to Philly for SQL Sat. And I get...
June 11, 2012 at 12:15 pm
I want to thank Lawrence, Andrew, opc, Skamath, Haining, Alex, Jeff and Sean for all the kind and positive words for me. Thanks a bunch for the feedback.
June 11, 2012 at 12:06 pm
Andrew Diniz (6/8/2012)
There's one point that no one picked up that I find inaccurate:
Note that the estimated execution...
June 11, 2012 at 12:00 pm
sparky-407434 (6/8/2012)
June 11, 2012 at 11:57 am
opc.three (6/8/2012)
June 11, 2012 at 11:31 am
June 8, 2012 at 9:47 am
SQL Kiwi (5/22/2012)
WayneS (5/22/2012)
Has anyone heard from Gianluca since the earthquake in northern Italy? I think he's up in that area, and just want to make sure that he's okay.
His...
May 22, 2012 at 1:20 pm
Has anyone heard from Gianluca since the earthquake in northern Italy? I think he's up in that area, and just want to make sure that he's okay.
May 22, 2012 at 12:30 pm
Stefan Krzywicki (5/21/2012)
WayneS (5/21/2012)
SQLRNNR (5/21/2012)
May 21, 2012 at 1:31 pm
SQLRNNR (5/21/2012)
May 21, 2012 at 1:09 pm
Steve Jones - SSC Editor (5/21/2012)
SQLRNNR (5/21/2012)
I had too much info to cover in 1hr15. I will be trimming it back...
May 21, 2012 at 10:37 am
Viewing 15 posts - 841 through 855 (of 5,590 total)