8i:
alter table xxx add(a number);
update xxx set a = b;
alter table xxx drop(b);当然,修改列名也是可以的,不过比较麻烦
要修改数据字典表
alter table xxx add(a number);
update xxx set a = b;
alter table xxx drop(b);当然,修改列名也是可以的,不过比较麻烦
要修改数据字典表
解决方案 »
- system授权select on student权限给user1,但user1无法访问student
- ORACLE生产库到测试环境
- oracle中查找小于指定日期的最大日期
- ORA-14452: attempt to create, alter or drop an index on temporary table already
- 如何把db2 迁移到oracle
- 这样让某一个存储过程在N个时间区段执行可行否?
- oracle数据库插入数据超慢
- 如何将按秒记的时间转换成日期格式的时间?
- 只有一个dbf文件,如何恢复数据库,请大虾帮忙!!!!
- 简单select语句请教
- 简单问题
- oracle toad
alter table xxx rename column xx to yy;Oracle8i & lower version
connect sys/passed;
update col$ set name=xx where obj#=对象id and name = 字段
(一般不要这样用,会造成意想不到的结果)
注:最好是删除再建立新的列