![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Oracle
文武双全小学生
这个作者很懒,什么都没留下…
展开
-
Oracle树结构
EM: select root_id,root_name,sum(times) from (select connect_by_root(spaceid) root_id,spaceid,connect_by_root(spaceName)root_name,spacename from spaceinfo connect by prior spaceid=spacenum start wit原创 2014-08-05 11:41:46 · 300 阅读 · 0 评论 -
Oracle操作表字段
1、新增字段: alter table tab_name add (col_name1 number default 0 not null, col_name2 number default 0 not null ); 2、修改字段: alter table tab_name modify col_name number default 0 not null; 3、删原创 2014-08-05 11:43:15 · 325 阅读 · 0 评论