Viewing 15 posts - 1,426 through 1,440 (of 1,988 total)
Ed Wagner (3/17/2016)
Gary Varga (3/17/2016)
Steve Jones - SSC Editor (3/17/2016)
Gary Varga (3/17/2016)
Jeff Moden (3/16/2016)
March 17, 2016 at 11:28 am
It's worth noting that just knowing how to do something in theory doesn't mean you can do it in practice, as per the kung fu example from the matrix Neo...
March 17, 2016 at 8:40 am
Is there a reason you can't do it in SQL using the method I posted?
March 16, 2016 at 2:16 pm
Have you tried updating the statistics on that table?
March 16, 2016 at 1:49 pm
Well what format are you writing the data out from the program your using? If it's a csv then yes excel will treat those as text and not sum...
March 16, 2016 at 1:47 pm
g.powers (3/16/2016)
A programmer wrote scripts to secretly automate a lot of his job — and email his wife and make a...
March 16, 2016 at 12:16 pm
Grumpy DBA (3/16/2016)
whereisSQL? (3/16/2016)
crookj (3/16/2016)
OliveBranch
Trunk
Junk
March 16, 2016 at 9:16 am
If you're running the rebuild index task built into SQL server it will run slower and slower and use more and more log space as the DB grows as it...
March 15, 2016 at 2:46 pm
Gary Varga (3/15/2016)
Ed Wagner (3/15/2016)
Wayne West (3/15/2016)
March 15, 2016 at 12:08 pm
Ed Wagner (3/15/2016)
Wayne West (3/15/2016)
March 15, 2016 at 11:52 am
Are you sure that it's actually SQL injection and not just an issue with whatever application is writing to those tables? Putting HTML code in a varchar field isn't...
March 15, 2016 at 10:10 am
Interesting, so is this a move to try to take market share from MySQL? MS is already beating Oracle in the licensing department so it doesn't seem like this...
March 15, 2016 at 7:33 am
jimtimber (3/14/2016)
DECLARE @StartTime DATETIME2, @EndTime DATETIME2
at the beginning of my statement and then added to...
March 14, 2016 at 4:14 pm
The method Luis posted should work if you'll never have differences more than 24 hours.
This should work to get the format you want.
SELECT RIGHT(CONVERT(varchar(30), DATEADD(second, DATEDIFF(second, CASE WHEN QueueDate IS...
March 14, 2016 at 3:17 pm
Ah.. yeah true, didn't see that the dates would always be the same day.
March 14, 2016 at 2:53 pm
Viewing 15 posts - 1,426 through 1,440 (of 1,988 total)