简体   繁体   中英

Interbase / Firebird equivalent for mysql_num_rows()

I'm looking for an efficient way to retrieve a count of the number of rows returned a result set from an Interbase / Firebird DB.

The closest equivalent (but unusable) function that I've found is mysql_num_rows()

Any suggestions?

SELECT *
FROM YourTableName
WHERE mykey > 1
ORDER BY myKey
ROWS 100

您是否尝试过 PHP 的PDO 库

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM