Viewing 15 posts - 31 through 45 (of 280 total)
A deceptively simple question, +1 for me - thanks. Perhaps slightly better wording next time though please. 2,0 is also, technically, correct according to the terms of your...
October 5, 2012 at 3:33 am
There's probably a way of modifying this value directly in the system databases, but a quick hack-y method would be to create a new LUN (drive letter) at the OS...
October 5, 2012 at 3:28 am
An excellent article that applies a common-sense approach to doing these kinds of changes. It does rely of course on sufficient resources to allow this approach to take place...
October 5, 2012 at 3:24 am
Hi Mike, thanks for the links and your comments, I'll check them out tomorrow. Its always nice to learn something new!
October 4, 2012 at 2:56 pm
A poor question. I answered none of the above simply because DiskIO was a combined figure and the question specifically referenced reads, so my answer is correct.
Also on a...
September 21, 2012 at 4:52 am
Good question, thanks, and how annoying that I couldn't spot the twist until it was too late.
Lesson: Never answer QOTW before 7am.
September 7, 2012 at 12:41 am
Point taken, it's a join, not processed row-by-row, so not subject to overhead of 'decoding' the date functions then comparing, then doing over again in a loop. So I...
September 6, 2012 at 8:38 am
It was just a thought. Running through multiple transformational functions on each iteration seems intuitively wasteful.
September 6, 2012 at 8:18 am
Yes, sorry Jeff. Edited post above to reflect this a few moments ago. When I replace the outer ' with " then the 'inject' merely inserts a row....
September 6, 2012 at 8:14 am
Jeff Moden (9/6/2012)
Try it. You'll find that it's not susceptible to injection because it's not being used in dynamic SQL.
Good point. You'd merely get the string inserted into...
September 6, 2012 at 8:00 am
Bob - CAST statement in signature...
CAST(SUBSTRING(CAST(FLOOR(NULLIF(ISNULL(COALESCE(1,NULL),NULL),NULL)) AS CHAR(1)),1,1) AS INT) == 1
The statement on the left is equal to the statement on the right, i.e. 1.
The double-equals is dev-jargon for...
September 6, 2012 at 7:54 am
Brilliant, thanks - didn't spot that typo there!
September 6, 2012 at 7:47 am
sunny.tjk (9/6/2012)
September 6, 2012 at 7:42 am
Surely there's an argument here that string validation (to take one example) should be handled app-side anyway, so that your table only ever receives clean data?
If not, and...
September 6, 2012 at 7:29 am
Viewing 15 posts - 31 through 45 (of 280 total)