ORACLE 如何去掉一个已经创建的好的一个表里的某个字段的 not null 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 alter table modify col_name null alter table table_name modify col_name data_type null; SQL> create table tb(col_1 number(2) not null); Table created SQL> desc tb;Name Type Nullable Default Comments ----- --------- -------- ------- -------- COL_1 NUMBER(2) SQL> alter table tb modify col_1 null; Table altered SQL> desc tb;Name Type Nullable Default Comments ----- --------- -------- ------- -------- COL_1 NUMBER(2) Y SQL> 看脚本,吧NOT NULL 改成NULL 如何查看ORACLE数据结构 oracle问题 oracle 中怎么实现根据条件自动删除表记录 无效的列索引问题 个人安装Oracle 10g硬件配置多少才比较可以? oracle9i中可否向sql server 2000那样可视化的创建表? 怎样分析未知数据库的结构? 这样的DECODE语句应该怎么写??? 正版的Orcle多少钱?? 我的oracle8i出现这样一个提示有哪位兄弟可以帮我看一下吗? oracle 10g exp 默认 buffer 是多少? oracle 定时任务突然停了
SQL> create table tb(col_1 number(2) not null);
Table created
SQL> desc tb;
Name Type Nullable Default Comments
----- --------- -------- ------- --------
COL_1 NUMBER(2)
SQL> alter table tb modify col_1 null;
Table altered
SQL> desc tb;
Name Type Nullable Default Comments
----- --------- -------- ------- --------
COL_1 NUMBER(2) Y
SQL>