Viewing 15 posts - 91 through 105 (of 334 total)
I'm not sure if this is what your after but I found this snip out there somewhere onetime and use it all over. Better performance that the convert.
Select
-- Standard date...
November 21, 2006 at 2:03 pm
I think sp_spaceused with the table names, then extimating total size of deletion will be the most accurate way. That will include the index space that is being saved also. ...
November 21, 2006 at 12:52 pm
I would also like to see the query run with the following set and see what it says.
set statistics io on
set statistics time on
It will give you the io on...
October 25, 2006 at 10:10 am
If performance is your problem as opposed to space, I would look at partitioning the table. Books online has a good deal of information about this, and from what I...
October 25, 2006 at 9:58 am
What is the purpose of this. The data is always stored with the clustered index. Any subsequent index can be stored elsewhere on disk and will only contain the key...
October 25, 2006 at 9:56 am
DDL is not affected by triggers.
Tom
October 24, 2006 at 2:21 pm
For truncate and drop you would have to be in the dbo role or sa role. Just take everyone out of that and grant them the correct permissions on the...
October 24, 2006 at 2:00 pm
There shouldn't be. What ever reorganization that had happened up to the point of cancel is kept.
Tom
October 23, 2006 at 11:40 am
You should be able to terminate without a problem. I have done it many times without any problems.
Tom
October 23, 2006 at 9:52 am
I have had to put index hints in on occassion. The reason being what other data elements I was bringing back. Bookmark lookups are very expensive to the optimizer, so when...
October 23, 2006 at 9:50 am
Not knowing anything about the application I can't say whether all of the indexes are needed or not. I can say that I have put indexes on fields that are...
October 23, 2006 at 9:08 am
If the size of the backup files are growing that large, than you are not initing the device when you run the next backup. That is, you have multiple backups...
October 17, 2006 at 9:44 am
Yes, there is value to having an index on a view even if the underlying object has no index on it. The view is materialized meaning anything using that view...
October 17, 2006 at 9:36 am
Since I had no original query to modify, it's hard for me to quess what exactly needed to be changed to do this. As stated earlier in the thread, if...
October 13, 2006 at 9:22 am
Viewing 15 posts - 91 through 105 (of 334 total)