Re: count rows without count(*)

2005-05-28 Thread Bob Showalter
Ing. Branislav Gerzo wrote: Hi all, I get data from DB with: while (my ($id, $post_text) = $getpost->fetchrow_array) { is there a way how much columns are selected wihout select (fetch) them all, or using count(*) function ? In the general case, no. DBI provides the rows() method: my $row

count rows without count(*)

2005-05-28 Thread Ing. Branislav Gerzo
Hi all, I get data from DB with: while (my ($id, $post_text) = $getpost->fetchrow_array) { is there a way how much columns are selected wihout select (fetch) them all, or using count(*) function ? Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT