insert - How can I tell what row has been inserted into Firebird db via JSP -



insert - How can I tell what row has been inserted into Firebird db via JSP -

i using executeupdate(query) insert row firebird database table , while works tells me whether has worked or not.

what need know row inserted i.e. when record inserted unique primary key , need know id can referred in later statements.

is possible , if how?

thanks

neil

you can utilize returning clause of insert statement, introduced in firebird 2.0:

insert ... returning pkfieldname

jsp insert firebird

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -