Viewing 15 posts - 21,871 through 21,885 (of 22,194 total)
Have you runa a DBCC CHECKDB against the database as it suggests?
Other than that, I'd want to see the code to try to figure out where the error lies.
You might...
April 27, 2007 at 12:14 pm
Not at all. If I thought I had something really cool & wonderful I'd be crushed. Instead, what I've got is a bit of a hack based on other people's...
April 26, 2007 at 2:36 pm
It's not a terribly well written script. We had a specific need and wrote it to meet that need and then stopped. We're extremely dilligent about keeping reserved words &...
April 26, 2007 at 2:01 pm
I'm fairly certain you can only get the columns available from the inserted table within a trigger and not any parameters within a stored procedure. You either have to simply...
April 26, 2007 at 5:41 am
This should do it:
SELECT
p.name,m.name
FROM
sys.server_principals p
JOIN
April 26, 2007 at 5:31 am
Oops. Misunderstood. Sorry.
What about referencing the CTE within a second subselect & get the count that way?
Psuedo-code:
<paging logic>
JOIN (SELECT COUNT(*) FROM cteTable) AS t2
That way, it's all part of the...
April 26, 2007 at 4:17 am
It wasn't in the Audit event, no. But it was in the TSQL batch that immediately followed it.
April 26, 2007 at 4:03 am
Well, the short answer is, it depends. What, you expected yes or no?
Seriously though, I think it'll be OK, but I'd keep a close eye on it. As long as you're...
April 25, 2007 at 12:09 pm
As long as you're only actually locking a row, for updates, it should actually perform faster. If you're updating multiple rows, you'll either get an outrageous number of row locks...
April 25, 2007 at 11:03 am
I'm not sure. Do you have any filters in place that might prevent the event from being captured?
I've never tried this before, but I just set "Audit Add Login to...
April 25, 2007 at 10:36 am
You can only use the CTE in the statement subsequent to it's definition. You can use it more than once within that statement but you can't use it in two...
April 25, 2007 at 10:26 am
We definately give the developers a copy of SSMS. In fact, they've got a Development server on their machines. They can't build structures into the dev servers, but we encourage...
April 24, 2007 at 12:23 pm
That is an odd one. I use "run as" almost daily and haven't run into an issue. I don't have encrypted data. Maybe that's the difference.
April 24, 2007 at 12:20 pm
Does it pull them all over when you expand the file list? I definately see a slow down when I open the error logs themselves, but I've not run into...
April 24, 2007 at 6:20 am
I've never heard of this one. Go to connect.microsoft.com. You can search for the bug there to see if anyone else has hit it. If not, you can report it.
I...
April 23, 2007 at 11:47 am
Viewing 15 posts - 21,871 through 21,885 (of 22,194 total)