Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: last_insert_id() in sybase

by Shreyak (Novice)
on Jul 12, 2014 at 03:59 UTC ( [id://1093337]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1093337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-18 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found