PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: sy50027 at milton dot sbi dot com (Simon Yaminian)
Subject: Re: Accessing @@rowcount global variable
Date: Jul 21 1998 2:32PM

> From mpeppler@mbay.net Tue Jul 21 10:24:07 1998
> From: Michael Peppler 
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Tue, 21 Jul 1998 07:22:05 -0700 (PDT)
> To: SYBPERL-L@listproc.net
> Cc: sy50027@milton.sbi.com
> Subject: Accessing @@rowcount global variable
> 
> Simon Yaminian writes:
>  > Hello,
>  > 
>  >     The number of rows affected by a query is reflected in the @@rowcount
>  > global variable. Is this variable accessible through Sybperl and if it is 
>  > how?
> 
> In DBlib is DBCOUNT().
> In CTlib it's
> $rows = $dbh->ct_res_info(CS_ROW_COUNT);
> 
> Michael
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
> Int. Sybase User Group  -||-  http://www.isug.com
> 
> 
    Acknowledging your reply regarding @@rowcount access.

Thanks Michael &
Regards
Simon Yaminian