declare final_result number;
begin
final_result =
select count(*)
from mytable;
end;
我想把mytable的记录总数赋值给final_result变量,请问该怎么做啊?上述写法行吗?
↧