[EMAIL PROTECTED] wrote:
> Anyone knows if DBD::Oracle has a function similar to the function
> $sth->rows that exist in DBD::Mysql?

This is a DBI feature.  It exists for all drivers.

> This function give us the number o rows in a select command. So, we
> don“t have to run a fetchrow with a while loop to know how many rows
> the select will return.

This is driver-specific behavior.  The DBI does not guarantee this.  With 
Oracle, you will need to either (1) fetch all the rows first, or (2) change 
your SQL to "select count(1) from ...".

Please note that the dbi-dev list is for DBD driver authors, not general 
support.  Please send support questions to [EMAIL PROTECTED]

- Philip

Reply via email to