sql - How do I create a trigger to insert a value into an ID field that is Max([ID Field])+1 on insert -
when add new record want sql server automatically add fresh id.
there records have been migrated on (from access) , until finish preparing server other required functionality manually migrating further records on (if affects possible answers).
what simplest ways implement this.
the simplest way make column identity
column. here example of how this (it's not simple alter table
).
Comments
Post a Comment