-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Description
Due to supporting UUID inserts, our sql_for_insert
now uses OUTPUT INSERTED.#{quoted_pk}
. This causes issue with tables that have triggers as noted by issue #339. Let's either do one of the following:
- Check if we are doing an insert for a UUID table. May be kind of hard since we are loosing potential table/column reflection since
binds
is not guaranteed to have these. - Provide a user configuration to globally disable this and always use
SCOPE_IDENTITY()
. - Something else?