Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Really slow update...

Author  Topic 

Lopaka
Starting Member

48 Posts

Posted - 2009-12-15 : 14:17:21
I created a simple Int field in a table with 26 million rows. Tried to populate the field incrementally:
Update Table
Set Field = @i + field + @i + 1
Let it run for 9 hours, still didn't finish. I then tried the same thing, but updated a field with NULL. Same thing.
Question is, is there something I am doing wrong or is there something wrong with the database?

Thank you

Robert R. Barnes

Robert R. Barnes

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2009-12-15 : 14:51:25
no need to post twice

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=137228

Go to Top of Page
   

- Advertisement -