I'm working on a database and I have a table called "Users", which store the sites user information (username, email and so on). The site has a forum and if a user that has posted something on the site deletes his account, I want "Deleted user" to appear instead of the username next to the post.
I know this is possible to do with referential integrity (set default) in SQL Management Studio, but I just can't figure out how to do it. I have created a user in the table called "Deleted user" that has got UserId "1".
Thanks in advance!