Microsoft
Software
Hardware
Network
Question : Why RTRIM so slow on UPDATE
Hi,
I have a table in SQL 2008 with an index on field1. It has over 6,000,000 records. When I attempt to do this:
1: 2:
UPDATE my_table SET field1 = RTRIM(field1)
It just runs forever and ever. I don't understand why the index doesn't get picked up, it seems straightforward, any ideas? Thanks!
Answer : Why RTRIM so slow on UPDATE
What about this? Part of the issue might be that it has to keep up with the indexing for all six million records.
ALTER Your_Index_Name ON my_table DISABLE
UPDATE my_table
SET field1 = RTRIM(field1)
ALTER INDEX ALL ON my_table REBUILD
Random Solutions
How can I create a list from a starting number and ending number in Excel?
windrose chart in excel 2003/2007
Windows 2008 Domain Controller Unavailable (but working)
Where are mappings for XML files set inside of Eclips
CSS wrong MIME type in Firefox on Apache, AddType text/css .css is there
What can be done with huge files that cannot be defragmented?
Compare two excel files
Hosted AD Domain Service - a best practice ?
Anyone knows what this fruit is called in english and if I can buy it in the USA somewhere even online
How do I see what traffic is traversing my Cisco 2811 router?