Get last inserted ID from Eiffel=>ODBC

22 views
Skip to first unread message

Gachoud Philippe

unread,
Feb 18, 2019, 3:03:29 PM2/18/19
to Eiffel Users
Hi all,

I was wondering how to get the latest inserted ID subsequent to an insert (execute_update) with ODBC in Eiffel.

Found some postgresql answers on my case but what would be a more generic case with ODBC?

Thx in advance

Gachoud Philippe

unread,
Feb 18, 2019, 3:59:23 PM2/18/19
to Eiffel Users
Could be nice @ least to be able to get the result of last update, to be able to parse it... thats the psql console result

# INSERT INTO .....  RETURNING id;
  id
------
 
6972
(1 row)



Reply all
Reply to author
Forward
0 new messages