我想要一个“不空”约束在Oracle中添加一列9为什么这个'修改表'语句失败?
ALTER TABLE user_roles modify group_id varchar2(36 char) set not null;
但是,操作失败,一个奇怪的错误:
Error report:
SQL Error: ORA-12987: cannot combine drop column with other operations
12987. 00000 - "cannot combine drop column with other operations"
*Cause: An attempt was made to combine drop column with other
ALTER TABLE operations.
*Action: Ensure that drop column is the sole operation specified in
ALTER TABLE.
任何想法,为什么这失败了?
谢谢,OMG小马 - 添加错误代码是一个好主意。 – johnstok 2010-01-22 15:57:18