Viewing 12 posts - 31 through 42 (of 42 total)
You could take a look at this:
http://msdn.microsoft.com/en-us/library/aa964124(SQL.90).aspx
October 6, 2010 at 10:46 am
+1 for the Redgate tools. They have saved me tons of hours.
September 28, 2010 at 3:58 pm
It's sounds like someone has given you a task but not the authority to efficiently complete it.
Try this in escalating order:
1) request temporary access to query the DMV's
2) give...
September 28, 2010 at 10:43 am
I believe if you are logged in as 'sa' when you do the move the owner should be sa. Is that an option for you?
September 28, 2010 at 4:40 am
getoffmyfoot (9/27/2010)
Yea, the drop/create table is brutal...
Maybe I am missing something here, could someone elaborate on why this is not good in this situation?
September 27, 2010 at 1:40 pm
I prefer scripting everything I can. I want to know exactly what is happening, no surprises. You can easily port a script to another server if need be or...
September 27, 2010 at 12:56 pm
If the table has 0 rows in it then why not just drop and recreate it to the size you want?
September 27, 2010 at 12:48 pm
Tobias Ortmann (9/27/2010)
I'm checking sys.dm_db_index_usage_stats with the script below to find unused and rarley used indexes.
I've many indexes on Indexed Views where [Maintenance Cost] = [Retrieval Usage].
How do you...
September 27, 2010 at 5:58 am
Hi James,
Yes it does seem like your query (and ultimately the underlying view) is filling up the log file and the CROSS JOIN is the problem. Is it really needed...
September 26, 2010 at 1:39 pm
Tara-1044200 (9/23/2010)
can some one flush out any idea as to why 2 identical databases behaving different.
Are they running on different servers?
September 24, 2010 at 8:28 am
"Slow performance in a cursor"... I stopped reading here.
Seriously though, this is a little different than what you asked for, but in addition to looking at your sub select you...
September 24, 2010 at 8:07 am
Thank you. The code worked great.
I'm still a little confused though as to how doing the Cartesian Product helps here and hoping you or someone can add a little...
July 24, 2009 at 6:24 am
Viewing 12 posts - 31 through 42 (of 42 total)