oracle 建表,如何设置默认值 和 自增长列
例如在oracle中建立以下数据的表   
 表名:TB1 
 字段      数据类型       
 id               NUMBER         默认值为自增长 
 dt               DATE               默认值为当前时间 
 flag         CHAR               默认值为 "N "   
 如何写sql语句?   帮帮忙,谢谢!!!
------解决方案--------------------不能,先建好表,使用过程插入数据用上sequences
------解决方案--------------------先建表.. 
 建表序列實現.. 比如:   
 create   table   tbname(id   number(3)   not   null,    
   name   varchar2(40),    
   sex   varchar2(1),     
   create   sequence   s_country_id   increment   by   1   start   with   1   maxvalue   999;    
   insert   into   tbname(s_country_id.nextval, 'na ', '1 ');    
 id   :行标志,范围在1-999之间,非空 名字和性別默認..      
------解决方案--------------------create table ttt 
 (id NUMBER(8), 
 dt     DATE  default sysdate, 
 flag   CHAR(1) default  'N ');   
 oracle没有自动增长列,用序列实现