DML
caidan250
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Oracle 之 update 例子
Oracle 之 update 例子 update bb set (bb.col1,bb.col2)=(select aa.col1,aa.col2 from aa where bb.key=aa.forkey) where exists( select 1 from aa where bb.key=aa.forkey )原创 2019-04-10 11:00:05 · 269 阅读 · 0 评论 -
Oracle 之 cursor 游标
declare v_col1 table.col1%type; cursor cur is select col1 from table where 1=1 ; begin open cur; loop fetch cur into v_col1; exit when cur%notfound; – doing end loop; close cur ; end;原创 2019-04-10 11:07:00 · 597 阅读 · 0 评论
分享