str="select count(*) from tablename" 语句:怎么使变量得到count(*)值?
zyxwh 2003-05-08 04:47:45 str="select count(*) from tablename" 语句:怎么使变量得到count(*)值?
在ACCESS数据库中不能建存储过程吧,
我试着用select @pcount=count(*) from tablename
rst(@pcount)不行,提示错误。
用rst.recordcount 要用动态游标,比较浪费资源。