oliver wrote:
> I'm having some problems with DBD::ADO and inserting/updating records.
>
> Specifically, after carrying out one of these operations, the number of
> records inserted is not returned, which means that it is not possible
> to tell if the operation was carried out successfully or not (execute
> always returns 0E0, and not the number of rows affected)
>
You could use a client side cursor.
But execute should raise error if the insert failed - just wrap execute in
an eval to test if the insert was successfull.
--
Simon Oliver
- DBD::ADO - returning record count after update/insert oliver
- Re: DBD::ADO - returning record count after update/i... Simon Oliver
- Re: DBD::ADO - returning record count after update/i... Jacqui Caren
- Re: DBD::ADO - returning record count after upda... Simon Oliver
- Re: DBD::ADO - returning record count after upda... Vassiliy Truskov
- Re: DBD::ADO - returning record count after ... Thomas A. Lowery
- Re: DBD::ADO - returning record count after update/i... Jacqui Caren
