Viewing 15 posts - 3,871 through 3,885 (of 5,841 total)
Can I ask why everyone is putting their code inside a UDF? Can't the code just be inlined as necessary?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 13, 2010 at 9:02 pm
Have you done an index tuning session to find out if the tables of concern are optimally indexed? Have you analyzed your queries to ensure they are efficient? ...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 10, 2010 at 11:43 am
With only 2 drives it is likely more important to be concerned about your tempdb and transaction log placements as opposed to your database file placement.
Surprised no one...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 10, 2010 at 11:41 am
I had intended to write pretty much everything Grant did - thanks for saving me the time Grant!
I will add one thing:
We should be careful about creating temporary...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 10, 2010 at 9:09 am
I am, and have been for a long time, a BIG proponent of Hyperbac (which is now owned by Red-Gate). This was way before they had the ability to...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 10, 2010 at 9:03 am
what error is thrown? if the update completes but the change isn't there after, is there a trigger on the table?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 9, 2010 at 8:52 am
I will add as a minor point that non-clustered index fragmentation (at least the extent kind) usually doesn't matter that much since the seeks tend to be random in nature...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 8, 2010 at 7:33 pm
Nadrek (9/8/2010)
Not only do these show aggregates, if you...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 8, 2010 at 7:31 pm
1) If you create a clustered index on a HEAP table, you won't need to defrag it immediately since it will be as defragged as possible upon creation.
2)...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 6, 2010 at 8:18 am
For almost all ETL scenarios where you wipe the entire table or affect a reasonable fraction of rows it is best to disable auto update/auto create, do the load, then...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 6, 2010 at 8:15 am
loki1049 (9/2/2010)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
September 3, 2010 at 10:03 am
Here is another link from Gail Shaw relevant to this thread: http://sqlinthewild.co.za/index.php/2009/09/15/multiple-execution-paths/
People, if you use this type of construct either do it with one of the 3 mechanisms covered...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 31, 2010 at 7:04 am
I'm with the guy/gal that recommended using the index usage stats DMV, at least for inserts. And if you have a column that is "always" updated you can get...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 26, 2010 at 6:50 am
The difference is that you must dot a lot more i's and cross a lot more t's with clustering. It can really be a PITA. If you go...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 26, 2010 at 6:49 am
I love the smell of no-indexed tables in the morning. Smells like . . . MONEY!! 😀 (wondering how many got that great American movie reference)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 26, 2010 at 6:47 am
Viewing 15 posts - 3,871 through 3,885 (of 5,841 total)