我用asp调用sybase server数据库时发现asp编译器对返回的数据集是否为空没有判断能力,即即使数据集没有数据但recordset.eof仍然为false,怎么解决

iloveyan 2001-12-17 08:20:41
...全文
44 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Sevenori 2002-06-27
  • 打赏
  • 举报
回复
up
liuyann 2001-12-17
  • 打赏
  • 举报
回复
If there had some function such as AVG,COUNT,SUM etc. in your sql statement, it will return a row even if there is no row matched your SQL statement.
liaogs 2001-12-17
  • 打赏
  • 举报
回复
if recordset.bof and recordset.eof then

2,596

社区成员

发帖
与我相关
我的任务
社区描述
Sybase相关技术讨论区
社区管理员
  • Sybase社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧