Viewing 15 posts - 27,301 through 27,315 (of 59,101 total)
jamessdba (3/5/2013)
Hi,Please post Query Performance & Optimization tips for production sql server 2005 Database
I mean both Developer & DBA view.
Thanks in advance
This is a huge subject. I recommend you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2013 at 7:11 am
Good overview for beginners. There are a couple of points that I think should have been included or are actually incorrect.
First, in the Simple Recovery mode section, you say...
This...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 5, 2013 at 6:54 am
shijobaby (3/4/2013)
http://answerforu.com/2011/09/26/server-msg-3201-level-16-state-1-line-1-cannot-open-backup-device-epubs-dat-device-error-or-device-off-line-see-the-sql-server-error-log-for-more-details-server-msg-3013-level-16-stat/%5B/url%5D
You are a hairball. All you've done is make an illegal copy of Microsoft Documentation at the following URL.
http://support.microsoft.com/kb/207187
I wonder how your sponsors will feel about finding out...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 9:30 pm
There are a couple of suggestions.
1. Make sure the queries are actually SARGable where an INDEX SEEK followed by an internal scan can be accomplished.
2. Possibly, normalize the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 8:20 pm
Considering that you're only working with 6 digits to begin with, consider transposing your formula for a smidgen more accuracy.
UPDATE dbo.Analysis
SET AccMargin = ((MArgin+Freight)/Gallons)
Of course, since you're doing decimal...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 8:12 pm
Actually, and just like many other threads with interview questions on them, a lot of the interview questions range from flat out wrong to excellent. The cool part is...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:57 pm
So, just like I said in the article, Scalar functions aren't always as bad as they've been made out to be but a true iTVF will easily beat the tar...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:51 pm
Arjun Sivadasan (3/3/2013)
Jeff Moden (3/3/2013)<snip/> For example, 40,000 INDEX SEEKs behind the scenes can be quite a bit slower than a single scan at the leaf level.
Jeff, in this case,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:40 pm
True enough but in this lawsuit happy 21st century, it's gonna happen. We had a guy here in Michigan that got sued and lost. He was out in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:36 pm
Then I believe you're pretty much stuck with dynamic SQL in one form or another.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:24 pm
I'd love to take the credit for it but it's not my code. It's Scotts (although I'd have done it the same way).
I was just curious as to why...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:22 pm
In that case, you might try what SQL Server itself uses for replication if you have the disk space. BCP in native format. Export the table to a...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 7:17 pm
ScottPletcher (3/4/2013)
Jeff Moden (3/4/2013)
I'm not so sure why you insist on using codes for literal dates, but I prefer not to.
Where in the world did I suggest using a format...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 5:20 pm
I'm not so sure why you insist on using codes for literal dates, but I prefer not to.
Where in the world did I suggest using a format code for anything?...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 4:56 pm
Sean Lange (3/4/2013)
Ed Wagner (3/4/2013)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 4, 2013 at 4:49 pm
Viewing 15 posts - 27,301 through 27,315 (of 59,101 total)