Use last_insert_id as alternative to insert... returning.

CUBRID support implemented ;)