天天看点

ORACLE 10G 字段属性修改

ORACLE 10G  字段属性修改

alter table test modify yy varchar2(10);

 SQL> desc test

 名称                                      是否为空? 类型  ----------------------------------------- -------- ----------------------------    XX                                                 NUMBER(38)  YY                                                 VARCHAR2(30)   SQL> alter table test modify xx char(20);   表已更改。   SQL> alter table test modify yy varchar2(10);   表已更改。   SQL> desc test;  名称                                      是否为空? 类型  ----------------------------------------- -------- ----------------------------    XX                                                 CHAR(20)  YY                                                 VARCHAR2(10)  

转载于:https://blog.51cto.com/mervin/490718