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: "Avis, Ed" <avised at kbcfp dot com>
Subject: RE: BLK API for DBD::Sybase...
Date: Jul 9 2004 2:21PM

Michael Peppler wrote:

>The way I see it I have two choices:
>
>1. Store the rowcount somewhere (e.g. $sth->{syb_bcp_rows_affected})
>or
>2. Don't use commit/rollback/finish, and instead create an ad-hoc
>private method ($sth->syb_bcp_commit(\$rows), etc).

These are not mutually exclusive.  syb_bcp_commit() could be a
wrapper.  Which suggests that the syb_bcp_rows_affected interface is
the one to provide.

-- 
Ed Avis