Is it possible to alter a table so that the row as a whole (excluding the IDENTIFIER (ID) ) can only be inserted once in the database? For example; you have a Start and End timestamp for an Employee, and you want other employees to be able to have the same Start and End value, but you don't want the same Employee to be able to inserted twice the same Start and End value?
-
I removed the inconsistent database tags. Tag only with the database you are really using.Gordon Linoff– Gordon Linoff2020-05-27 20:09:04 +00:00Commented May 27, 2020 at 20:09
-
1Perhaps you also want to reject overlapping periods for an employee?jarlh– jarlh2020-05-27 20:12:34 +00:00Commented May 27, 2020 at 20:12
Add a comment
|