Viewing 15 posts - 21,901 through 21,915 (of 22,219 total)
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
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...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2007 at 11:47 am
OK. It only bothers me when I read a stinky article that I want to slam
No big deal. I was just curious really.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2007 at 10:06 am
Don't put the cluster on the GUID.
Experimentation is the key. Just a swag, put the cluster on the date column and then, depending on the manner in which the...
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2007 at 7:47 am
Since you're doing deletes, you're probably going to get some blocking no matter what you do. First off, I'd look into eliminating the WHERE IN & WHERE NOT IN queries....
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 23, 2007 at 7:40 am
Check this knowledge base article on MSDN:
http://support.microsoft.com/kb/321185
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 20, 2007 at 10:48 am
Some indication of the code being called would help.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
April 19, 2007 at 1:21 pm
Viewing 15 posts - 21,901 through 21,915 (of 22,219 total)