Viewing 15 posts - 31 through 45 (of 469 total)
Thanks for posting this question. I would consider it a more subjective question since it could be used to judge your skills, a best guess taken and then read...
July 27, 2012 at 6:59 am
ScottPletcher (7/10/2012)
Jeff Moden (7/9/2012)
ScottPletcher (7/9/2012)
SELECT
(ident - 1) % 3,
MAX(CASE WHEN (ident - 1) % 3 = 0 THEN value ELSE 0 END)...
July 10, 2012 at 8:56 am
Can you post the full table definition? If that one column is all that's in the table there's no reliable way to do this. I'm making the assumption...
July 9, 2012 at 12:58 pm
Two thoughts. Is the DB in use at the time the copy is run? If it's using nolock (or something is disabling the foreign key) that would explain...
July 9, 2012 at 12:49 pm
Hugo Kornelis (7/9/2012)
GilaMonster (7/9/2012)
It's why I never write QotD any longer.
And that is really a loss. I can understand yoour feelings. Sometimes, the comments are fair. Sometimes, they are far-fetched....
July 9, 2012 at 11:29 am
It depends on what application the server is running. I work at a hospital so some apps are extremely critical and are set up in an HA configuration. ...
June 29, 2012 at 8:44 am
Drenlin (6/28/2012)
However, there was no...
June 28, 2012 at 10:29 am
I don't expect this to be a major improvement but you never know. Instead of checking the count you can just check to see if something exists:
WHILE EXISTS (select...
June 28, 2012 at 10:14 am
I actually just dealt with this in a slightly different way. We're doing a purge on a large DB and the app owner wanted a quick way to roll...
June 28, 2012 at 9:23 am
I haven't used application roles before. Hopefully someone that has will take a look and help out.
June 28, 2012 at 7:20 am
Take a look at the last two posts. Can you answer those questions? And what I said applies to Server 2008 too, not just Win7.
June 28, 2012 at 7:04 am
GSquared (6/27/2012)
There's a big difference between telling a user "don't try to service your TV yourself, there are parts in there that can kill you, and you don't know which...
June 27, 2012 at 6:53 am
GSquared (6/26/2012)
June 26, 2012 at 8:02 am
Paul Randal (6/25/2012)
June 25, 2012 at 10:59 am
Toreador (6/25/2012)
But strictly speaking, the answer should be "false, false".
A Temporary Table can have primary keys...
June 25, 2012 at 10:57 am
Viewing 15 posts - 31 through 45 (of 469 total)