Efficient way to update all rows in a table

后端 未结 6 1973
执笔经年
执笔经年 2020-12-17 08:27

I have a table with a lot of records (could be more than 500 000 or 1 000 000). I added a new column in this table and I need to fill a value for every row in the column, us

6条回答
  •  孤街浪徒
    2020-12-17 09:09

    What is the database version? Check out virtual columns in 11g:

    Adding Columns with a Default Value http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/11g-schemamanagement.html

提交回复
热议问题