标签:storage comment varchar2 lte add extent gen efault def
建表设置默认值:
alter table 表名 modify 字段名 default 默认值;
列在此处不允许
-- Create table
create table M_AGENCY
(
AGENCY_CD varchar2(15) not null,
AGENCY_NM varchar2(60) not null,
AGENCY_USER_CD varchar2(15) not null,
IS_VALID varchar2(1) not null,
UPDATE_DATE date default T not null,
UPDATE_USER_ID varchar2(15) default SYSFDATE not null
)
tablespace USERS
storage
(
initial 64K
minextents 1
maxextents unlimited
);
-- Add comments to the columns
comment on column M_AGENCY.UPDATE_DATE
is ‘T:有效;F:无效‘;
标签:storage comment varchar2 lte add extent gen efault def
原文地址:http://www.cnblogs.com/excellencesy/p/7944650.html