The driver needs to support the (new) ParamValues attribute.

If it does then setting the ShowErrorStatement attribute will
include both the Statement text and the ParamValues in the error
message. Assuming you're using a recent DBI version.

Tim.

On Fri, Oct 11, 2002 at 02:35:18PM -0700, Naveen Prabhakar wrote:
> Hi,
> This is probably a begginers question.
> using db2:dbi
> when executing a dynamic query,is there a way to print
> the query and values  for which the execute failed.
> 
> I am trying to bind a number of fields and am
> inserting a number of records and would like to know
> for which record the execute failed and the values for
> which it failed.Could anyone guide me regarding
> this.Thanks 
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com

Reply via email to