Viewing 15 posts - 6,271 through 6,285 (of 7,614 total)
Jeff Moden (1/1/2014)
fahey.jonathan (12/12/2013)
January 2, 2014 at 3:59 pm
Rando (1/2/2014)
Again, I'm just looking for the results to be the following;
Date: 12/30/2013
Time:...
January 2, 2014 at 8:11 am
SELECT
CONVERT(varchar(10), CAST(CounterDateTime AS datetime), 101) AS Date,
RIGHT(CONVERT(varchar(20), CAST(CounterDateTime AS datetime), 100), 7) AS Time
FROM table
December 30, 2013 at 3:42 pm
Jeff Moden (12/24/2013)
ScottPletcher (12/24/2013)
If you don't have any data longer than 24 bytes (or so), it might be easier just to "brute STUFF" it:
Awesome! I don't believe anything will...
December 24, 2013 at 1:24 pm
If you don't have any data longer than 24 bytes (or so), it might be easier just to "brute STUFF" it:
WITH SampleData (MyStr) AS
(
SELECT '12345678'
...
December 24, 2013 at 10:45 am
Jeff Moden (12/20/2013)
ScottPletcher (12/20/2013)
Evil Kraig F (12/20/2013)
ScottPletcher (12/20/2013)
December 23, 2013 at 7:17 am
Evil Kraig F (12/20/2013)
ScottPletcher (12/20/2013)
December 20, 2013 at 5:16 pm
Evil Kraig F (12/20/2013)
ScottPletcher (12/20/2013)
December 20, 2013 at 5:05 pm
Evil Kraig F (12/20/2013)But, I'd like to bring us back to the origination of this minor alteration in the direction of this topic, and that's SARGability and effeciency and if...
December 20, 2013 at 4:50 pm
Evil Kraig F (12/20/2013)
ScottPletcher (12/20/2013)
December 20, 2013 at 4:24 pm
Jeff Moden (12/20/2013)
ScottPletcher (12/20/2013)
Jeff Moden (12/20/2013)
ScottPletcher (12/19/2013)
December 20, 2013 at 2:40 pm
Jeff Moden (12/20/2013)
ScottPletcher (12/19/2013)
December 20, 2013 at 12:48 pm
Snargables (12/19/2013)
December 19, 2013 at 2:44 pm
wolfkillj (12/19/2013)
ScottPletcher (12/19/2013)
Jeff Moden (12/18/2013)
ScottPletcher (12/18/2013)
December 19, 2013 at 2:03 pm
Sigerson (12/19/2013)
Grant Fritchey (12/18/2013)
December 19, 2013 at 8:10 am
Viewing 15 posts - 6,271 through 6,285 (of 7,614 total)