Viewing 15 posts - 1,156 through 1,170 (of 5,841 total)
jeff.mason (4/15/2016)
Snargables (4/15/2016)
but u can log ship from enterprise to standard?Yes.
I haven't tried it, but I wonder what happens when you do this and then create something on the Enterprise-edition...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 11:04 am
The file for that single query is 6.5KILOBYTES!! I have spent a dozen or more hours many times the past trying to decipher and fix stuff like that at clients....
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 11:01 am
ScottPletcher (4/15/2016)
Never use ISNULL in a WHERE or JOIN clause.
Whether the column is nullable or not is irrelevant.
The proper way to code this:
where isnull(SalesOrderID,-1) = 43665 --NEVER!!
is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 10:56 am
Hugo Kornelis (4/15/2016)
TheSQLGuru (4/15/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 10:53 am
<RANT ON>
Wrapping a function around a column in the WHERE clause is probably the second worst thing I see in aggregate in my consulting (with the first being mismatched...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 8:38 am
Stop allowing users to modify the schema of a table via a GUI. This MUST be a CONTROLLED evolution for numerous reasons, including the one that is giving you fits.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 8:10 am
1) Buy better hardware? How much RAM do you have and what is the throughput you get from your IO subsystem for a large scan?
2) I usually recommend for my...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 8:08 am
SQL 2016 has a LOT of wins, but I don't know of one here for you. You can now do a "Basic Failover Group" on Standard Edition, but it is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 15, 2016 at 8:04 am
Grant Fritchey (4/14/2016)
Jeff Moden (4/14/2016)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 4:35 pm
Jon.Morisi (4/14/2016)
In order to read the secondary for log shipping you'll have to enable STANDBY mode and there's potential that users will...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 4:30 pm
Lynn Pettis (4/14/2016)
Sean Lange (4/14/2016)
Mike Frazer (4/14/2016)
Thank you...attached.Edit: I added the DDL for the related objects as scripts.txt
Those nested views are going to kill your performance something fierce. They...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 12:27 pm
Like I said, I would rather see the code of the UDF and the objects it hits more than the query plan in this (very rare) case since when you...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 11:45 am
When you reply to the thread, check the lower-right of the window. Button called "Edit Attachments".
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 10:26 am
Jeff, the next time you and I are together FTF (SQL Saturday or PASS Summit?) we need to have a long, detailed talk about the things you state below. I...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 8:12 am
UDFs (Scalar and Multi-statement Table Valued Functions) are UNBELIEVABLY BAD!!!! If you want some details, grab a copy of the SQL Server MVP Deep Dives 2 book (proceeds go to...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 14, 2016 at 7:51 am
Viewing 15 posts - 1,156 through 1,170 (of 5,841 total)