摘要: --For 循环游标--(1)定义游标--(2)定义游标变量--(3)使用for循环来使用这个游标declare--类型定义cursor c_jobisselect distinct a.fakeid,a.nick_name,b.openidfrom ajydev_weixin_temp1 a,ajydev_weixin_temp2 bwhere a.date_time=b.date_time and a.msg_content=b.msg_content;--定义一个游标变量v_cinfo c_emp%ROWTYPE ,该类型为游标c_emp中的一行数据类型c_row c_job%rowty 阅读全文
posted @ 2013-10-21 14:20 旦旦哥 阅读(1425) 评论(0) 推荐(0) 编辑