Viewing 15 posts - 14,881 through 14,895 (of 22,227 total)
If the BOL isn't helping, try this
"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
June 9, 2010 at 3:06 pm
Sure sounds like something is broken in the backup file:
SQL error 3241: SQL error 3241: The media family on device 'SQLBACKUP_273C82FD-3412-49B2-9669-42A275B6845802' is incorrectly formed. SQL Server cannot process this media...
"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
June 9, 2010 at 3:05 pm
By stating SELECT *, you're asking for everything. The only way to not get everything is to explicitly state what you want as the others have already said.
But, you can...
"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
June 9, 2010 at 3:02 pm
James O. (6/9/2010)
Thanks for the reply.I've deleted those views and replication was reinitialized just fine.
And FYI, I just bought your book! lol 😉
Glad I could help. I hope the book...
"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
June 9, 2010 at 2:51 pm
This is the cause of the Remote Scan, not the CTE:
INSERT INTO #tagData SELECT * FROM OPENQUERY([scada-02],'SELECT * FROM usascada.dbo.FloatTable');
What I'd suggest is putting some filters into that SELECT statement...
"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
June 9, 2010 at 1:54 pm
Welcome!
Those are very likely to be detritus from the Database Tuning Advisor. Why they are there? Hard to say, but it's likely that someone was running the DTA and had...
"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
June 9, 2010 at 11:25 am
You have to remember that views (except for indexed views) are just the underlying query. There is no special construct or nifty thing going on with them. Sometimes, the optimizer...
"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
June 9, 2010 at 11:23 am
GilaMonster (6/9/2010)
Grant Fritchey (6/9/2010)
"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
June 9, 2010 at 8:50 am
The reason I used to do this in the past usually broke down into two scenarios. Scenairo #1, way too many columns to make up a single table, so I'd...
"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
June 9, 2010 at 8:37 am
2500 stored procedures is a little difficult to maintain. 40 is nothing.
No, I wouldn't recommend jamming all the code into a single procedure. In fact, I'd recommend, as much as...
"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
June 9, 2010 at 8:25 am
It depends too much on what you want to do with the data. If you're just storing it as is, no modifications, will that satisfy these future reports? Or do...
"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
June 9, 2010 at 8:20 am
At the point of a delete or insert, you do have access to the deleted & inserted temporary tables that will allow you to see what was deleted or inserted,...
"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
June 9, 2010 at 8:18 am
I work for a fairly large insurance company and we have SA's responsible for the OS and the Servers and the disks and all things configuration oriented. It works out....
"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
June 9, 2010 at 6:44 am
An excellent question, and comparing it to writing a book is pretty apt. I suspect, more than anything, it's a personality trait that drives a person to do that kind...
"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
June 9, 2010 at 6:18 am
Steve Jones - Editor (6/5/2010)
What do you guys...
"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
June 8, 2010 at 5:19 am
Viewing 15 posts - 14,881 through 14,895 (of 22,227 total)