logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

finding out if an insert failed because the record already exists.: msg#00006

Subject: finding out if an insert failed because the record already exists.
Hi,

I am looking into libdbi. In my application (which currently
is MySQL only) I check the return value of a query to find
out if it is ER_DUP_ENTRY, which means record already exists,
or something along that lines.

Can I do that in a database portable way in libdbi?
Could not find it in the docs.

Thanks,
Ron Arts

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>