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
'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.
Logging computer off network
ati2dvag blue screen on ibm thinkpad T41 help
Notes 8.5.1 - Increasing Java Heap Size - No com.ibm.rcp.j2se.<version>
file
Deleted nested folders and files with powershell
Adding a second Cisco Voice Gateway Router to Cisco Unifiied Communications Manager 7.0.1
Formula to calculate all position for given matrix
Documentation for Palo Alto PA 500 firewall
Sonicwall TZ210
VBScript Exchange 2003 set user storage limit