摘要:
需要将以逗号分割的字符串,拆分出各个元素,然后进行相应的处理,类似对象数据库的功能。 select to_number(regexp_substr('623,323,423','[^,]+',1,rownum,'i')) as staff_id from dual connect by rownum 阅读全文
摘要:
使用for in loop,实质是隐式游标,对于依据检索结果集进行处理的情况非常方便 For r_sys In (Select staff_name From v_tr_member where team_sn=m_team_sn order by rowid) Loop if pass_summa 阅读全文
摘要:
Oracle支持针针对视图的更新,真实太方便了 Create or Replace View v_td_department As Select department_id As dept_Id,item_note as note From td_department update v_td_dep 阅读全文