Viewing 15 posts - 20,686 through 20,700 (of 22,224 total)
Instead of using the sub-query as part of the select list, make it a derived table, join against it, and you'll get a row for each value in that table.
"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 11, 2008 at 5:42 am
We're using them all over the place. It allows us to set up different security management processes within the same database and maintain them very easily since you can grant...
"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 11, 2008 at 5:39 am
No, nobody should beat you up. "It depends" is always the right answer. The factors involved really do make a difference. If the system in question is meant to gather...
"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 10, 2008 at 8:31 am
Everyone else has already said it, but I can expand a bit. XML is the answer. You want to look at ALL your database processes from the approach of working...
"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 10, 2008 at 8:01 am
DonaldW (4/10/2008)
Grant Fritchey (4/9/2008)
What's the difference between a clustered & non-clustered index?
What's the difference between blocking & deadlocking?
How do you trap errors in SQL Server 2005?
What does...
"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 10, 2008 at 6:13 am
Our entire enterprise is running on TCP/IP connections (I suspect most are these days). If you can connect to your SQL Server instance and run 'SELECT * FROM SomeTable', then...
"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 10, 2008 at 6:06 am
It's possible that it could be as problematic as anything else, but you might try dropping & recreating the index. That will also remove fragmentation. The Storage Engine team at...
"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 10, 2008 at 5:57 am
Sounds like heaven. We're trying to convince our bosses to let us telecommute regularly (we're able to do it now on snow days or when the cable company is coming...
"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 10, 2008 at 5:48 am
Mahesh Bote (4/9/2008)
[font="Verdana"]Grant Fritchey (4/9/2008)
You call out of TSQL to WMI process to launch a .NET app... right?Gant, I am not getting you?
Mahesh[/font]
Sorry, it was joke. Jeff asked how 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 10, 2008 at 5:40 am
We've found the fastest way is to export from one database out to an SSIS RAW file and then back into the next database in the next server. Storing 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 9, 2008 at 2:40 pm
Because we use DBPro (aka DataDude) I do a lot of TSQL programming in Visual Studio. It's not terribly good, but the integration with TFS & DBPro makes it necessary.
"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 9, 2008 at 2:34 pm
You will have to pass them in for a SQL guide.
Here's an example:
EXEC sp_create_plan_guide @name = N'APlanGuide',
@stmt = N'SELECT * FROM [Person].[Address] WHERE [City] = @0',...
"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 9, 2008 at 9:00 am
You call out of TSQL to WMI process to launch a .NET app... right?
"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 9, 2008 at 7:29 am
But the constant updates from a single spid that is always connected won't act like a transaction & hold that lock open? Just asking, not arguing.
"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 9, 2008 at 7:27 am
DonaldW (4/9/2008)
Mike Menser (4/9/2008)
DonaldW (4/9/2008)
Grant Fritchey (4/9/2008)
Perks? I thought it was the job definition!
It is as far as I'm concerned. If I don't tick people off on a regular...
"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 9, 2008 at 7:03 am
Viewing 15 posts - 20,686 through 20,700 (of 22,224 total)