This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / jeffery815,你说"client cursor is extremely inefficient and try to avoid it as much as possible.",那么怎么做效率最高呢?如果只是想统计部分记录的个数?
-haihai(海海);
2002-10-25
(#817831@0)
-
if you are looping through the entire recordset, keep an counter. if not, do a select(count(*)) if your db supports it. Otherwise, you don't get a choice but t use client cursor.
-jeffrey815(Smartiecat);
2002-10-25
(#817987@0)