ORA-01758: table must be empty to add mandatory (NOT NULL) column
来源:互联网 发布:win10安装ubuntu 多图 编辑:程序博客网 时间:2024/05/18 10:36
http://ora-01758.ora-code.com/
ORA-01758:
table must be empty to add mandatory (NOT NULL) column
Cause:
It is not possible to define a new column as NOT NULL if rows already exist in the table being modified.
Action:
Retry the statement without the NOT NULL specification.
alter table GCD.DAILY_ACCRUAL_VIRTUS_STAG add
(
ASOFDATE DATE NOT NULL
)
/
update GCD.DAILY_ACCRUAL_VIRTUS_STAG set asofdate=trunc(sysdate, 'dd')
/
alter table GCD.DAILY_ACCRUAL_VIRTUS_STAG modify
(
ASOFDATE NOT NULL
)
/
- 解决数据不同步(2)----- synchronized()
- 视频流中的 I帧 P帧 B帧
- C++ Boost Assign 文档(翻译) (二)
- Ubuntu下编译Quantum GIS(QGIS)
- wp7資料鏈接
- ORA-01758: table must be empty to add mandatory (NOT NULL) column
- 多线程条件下的计数器
- 程序员必知8大排序3大查找(一)
- 用crosstool-ng建立自己的ARM交叉编译工具链 (适用于S3C6410以及其它处理器)
- C_语法概念_sizeof 使用规则及陷阱分析
- DB2 10.1 Express-C 测试
- Boost源码剖析之:泛型指针类any之海纳百川
- c#获取当前日期时间
- GIT和SVN之间的五个基本区别