时间:2021-07-01 10:21:17 帮助过:16人阅读
--0.表重命名
alter table GH_ZD_SCJX rename to GH_ZD_SCJX_jx;
--1.
create table GH_ZD_SCJX as SELECT * FROM GH_ZD_SCJX_jx gz WHERE gz.id=‘1651‘
--2
SELECT count(*) FROM GH_ZD_SCJX
--3
truncate table GH_ZD_SCJX
--4
insert into GH_ZD_SCJX SELECT * FROM GH_ZD_SCJX_jx
--5
truncate table GH_ZD_SCJX_jx
--6
drop table GH_ZD_SCJX_jx
oracle 修改表
标签:into 命名 -- sel rom name acl truncate alter