Viewing 15 posts - 26,221 through 26,235 (of 49,552 total)
Daniel Bowlin (5/10/2011)
Ray K (5/10/2011)
Brandie Tarvin (5/10/2011)
WOTD: HandsFeet
Inches
Metres. (no more of that imperial garbage)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 7:38 am
Ninja's_RGR'us (5/10/2011)
Actually it's 10 minutes. I gave him the best link I had, looks like it did the job :-)!
😀 I didn't check where the link went before replying.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 7:34 am
rajeshn29.dba (5/10/2011)
Can any one give reply plzzzzzzzzzzzzzzzzzzz
Patience. This is a discussion forum, not a chat room. We're all volunteers with our own jobs and own problems. bumping your post after...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 7:28 am
Brandie Tarvin (5/10/2011)
EDIT: Wait a sec. Was the Bookmark Lookup doing a Nested Inner Join behind the scenes in SQL 2000? Did we just not see it?
Yeah, kinda.
The (high level)...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 6:07 am
What database engine?
Php is usually used with MySQL, not SQL Server.
If it is SQL Server, we're at minimum going to need to see the table structure.
If it's MySQL, you're more...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 6:04 am
terrykzncs (5/10/2011)
I know that SQL joins tables from left to right, but in what order should we join tables for the code to be most efficient?
Any order you like. Unless...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 5:58 am
Indexed view and the wrong settings for quoted identifier I'm guessing.
Can you run a manual checkDB, just to be sure the DB is clean?
DBCC CheckDB(<Database name>) WITH No_INFOMSGS, ALL_ERRORMSGS
If that...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 5:49 am
Depends completely on the query.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 3:52 am
Unless you had a trace running at the time of the delete, there's no history stored.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 3:15 am
Go to your favourite search engine. Search for DCM or "Differential Change Map"
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 10, 2011 at 2:17 am
terrykzncs (5/9/2011)
Like they said before, start with replacing the cursors with set statements. But then replace the temp tables with table variables.
In general I recommend the other way around. Replace...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 9, 2011 at 11:37 pm
No. You're thinking of SELECT * - a shorthand for all columns.
Select * - Return all columns of this resultset.
Count(*) - Count all rows in this resultset regardless of what...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 9, 2011 at 4:40 pm
Oh my: http://shitmystudentswrite.tumblr.com/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 9, 2011 at 4:09 pm
Maybe.
If ID is a nullable column, then count(ID) will be slower than Count(*) or Count(1). If it's not nullable, they are completely equivalent.
http://sqlinthewild.co.za/index.php/2009/04/14/on-counts/
Edit: Apologies, I misread the question first time.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 9, 2011 at 4:04 pm
Brandie Tarvin (5/9/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
May 9, 2011 at 1:31 pm
Viewing 15 posts - 26,221 through 26,235 (of 49,552 total)