sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: ct_sql
Date: Apr 9 1999 6:05PM
Andrew J Davies writes:
> Hi all
> is there a way of identifying the number of rows affected by a sql
> statement using ct_sql.
>
> @rows = $dbh->ct_sql( select * from table1);
>
well in this case you can simply say $numrows = scalar(@rows)...
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@peppler.org -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|