国产成人毛片视频|星空传媒久草视频|欧美激情草久视频|久久久久女女|久操超碰在线播放|亚洲强奸一区二区|五月天丁香社区在线|色婷婷成人丁香网|午夜欧美6666|纯肉无码91视频

oracle刪除表字段語句 oracle快速刪除一個字段,但是表里有千萬條數(shù)據(jù)?

oracle快速刪除一個字段,但是表里有千萬條數(shù)據(jù)?你可以用CTS啊,例如:create table aa_new as select * from a_old,建新表的時候,可以把那個字段去掉嗎。如

oracle快速刪除一個字段,但是表里有千萬條數(shù)據(jù)?

你可以用CTS啊,例如:create table aa_new as select * from a_old,建新表的時候,可以把那個字段去掉嗎。

如果不是很重要的表,可以用nologging和并行。例: create table aa_new nologging as select /* parallel(t,4)*/ * from a_old t這樣會更快。然后相互rename成自己需要的表名。另別忘了索引。

在oracle中怎么刪除表的字段?

先把數(shù)據(jù)文件脫機,如果有備份的話就還原,用RMANselect file#,name,status from v$datafile找到數(shù)據(jù)狀態(tài)alter database datafile 42 offline將這個數(shù)據(jù)文脫機list backup of datafile 42 summaryrestore datafile 42recover datafile 42恢復(fù)這個數(shù)據(jù)文件alter database datafile 42 online

Oracle中如何刪除表中已有字段?

建立分區(qū),將需要刪除的數(shù)據(jù)存在特定分區(qū)里,刪除該分區(qū)就可以了。 alter table 表名 drop partition 分區(qū)名 應(yīng)該很快。