Support for databases that may not support 'insert ... returning'