Hi:
I need to be able to grab a key value generated by the server so that I can
use it with other inserts within the context of a transaction.
In a nut shell, I have an order table and an order details table. When an
order is saved, it has to go into both the order table and the order detail
tables where the order details records require the key value created in the
order table.
SQL server had a function to do this (@@identity) does PostGresSql have
anything?
Thanks,
Stefan