ITPub博客

首页 > 数据库 > Oracle > ORACLE 插入空值测试

ORACLE 插入空值测试

原创 Oracle 作者:huzhichengforce 时间:2014-12-18 11:04:31 0 删除 编辑
create table test (name varchar2(10),age number default 20);

1、 insert into test values(null,null)
结果 name 为空,age 为空
2、insert into test vauels(null,default)
name 为空,age为 20

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26764973/viewspace-1371913/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 行迁移测试
请登录后发表评论 登录
全部评论

注册时间:2012-08-19

  • 博文量
    202
  • 访问量
    518269