成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

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

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

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

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

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

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

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

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

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