I have a quick question about ActiveRecord and primary key value
generation.
Does it hurt to define my primary keys as “IDENTITY” (SQL server) or
some equivalent database - managed id generation scheme (a la sequences
in Oracle, etc.) since ActiveRecord is going to manage my id generation
anyway.
I’m thinking that for SQL server, even if you define your ids as
“IDENTITY” it won’t matter because if you specify a value for an
IDENTITY column on an insert, that value will be used instead of the
auto-generated value.
Anyone have any strong feelings either way?
Thanks,
Wes