I have a Users table:
UserId (int)
DeleteSuspended (tinyint 0=ok, 1=delete, 2=suspended)
Email (varchar)
etc
I have multiple tests tables, eg testhistory:
UserId (the same as the one above)
DeleteSuspended (this is the one I want linked)
Mark (a test score)
I do a lot of work with the test tables, but each time I need to check DeleteSuspended, so it is optimal to have that value in that table. But, the user is deleted or suspended globally, ie based on the User table.
My question is this. Can the DeleteSuspended be linked to the one in the User table. Ie, when I change the DeleteSuspended in the User table, it automatically updates all DeleteSuspended in all the test tables, ie the DeleteSuspended in the test tables are in effect references to the main one in the Users table?