string ls_name
declare readdate cursor for select mc from bm where dwid='1';//创建游标并赋值
open readdate;//打开游标
fetch readdate into :ls_name;//从游标中取值,每执行一次游标就会读取下一条数据
do while sqlca.sqlcode=0 //遍历游标
ddlb_1.additem(ls_name)
fetch readdate into :ls_name;
loop
close readdate;//关闭游标

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-12
  • 2021-06-27
  • 2021-07-04
  • 2022-01-10
  • 2022-12-23
  • 2021-12-01
猜你喜欢
  • 2021-09-14
  • 2021-10-31
  • 2021-08-30
  • 2021-11-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案