in reply to Re: last_insert_id() in sybase
in thread last_insert_id() in sybase

Yes i did $sth->execute(@bindValues) after preparing the statement at start of the database connection and executing with bind variables whenever required in code ,and then did $sth->finish() just before disconnecting database. Also i used different statement handlers for insert and update statement.

Replies are listed 'Best First'.
Re^3: last_insert_id() in sybase
by boftx (Deacon) on Jul 12, 2014 at 04:28 UTC

    Then all I can say at this point is what others have mentioned below, show us what you have that failed and what worked. :)

    You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.