帮我看看我的这个用游标修改数据的语句有问题吗?谢谢
string str
int count
declare cursor_money cursor for
select card_fee from card_code;
open cursor_money;
fetch cursor_money into :str;
DO WHILE SQLCA.sqlcode = 0
select count(*) into:count from card where status='否' and card_fee=:str;
update card_code set card_count=12 where current of cursor_money ;
FETCH cursor_money INTO :str;
loop
close cursor_money;
表里的Card_count是number类型的,数据库ORACLE