Dear all,
I'm trying to find a way to get the last
sql error which happened on a database.
Found that the last command could be retrieved with
"select current_query(); ". Is there a simple way to get
the last error code (something like select @@error in MS Sql Server)?
Any hint is appreciated. Thank you in advance.
Best regards
Erik Ande
G. Muth Partners GmbH
Borsigstrasse 32
D-65205 Wiesbaden
HRB 10196 Amtsgericht Wiesbaden
Geschäftsführer: Klaus Gockel
Tel +49 (0)6122 5981-64
Fax +49 (0)6122 5981-50
Mobil +49 (0)171 3818912
Mail: Erik.Ande@MuthPartners.de
Internet: http://www.MuthPartners.de