I have two separate SQL Server 2005 databases (on the same server)
- security database
main application database
The security database has a user table with everything needed to authenticate. -
- The application database has a person table with extended user details. There is a 1-1 mapping between the security database user table and the application database person table.
I want to enforce a mapping between the user and the person table. I'm assuming that foreign keys can't be mapped across databases thus I am wondering what to do to enforce the integrity of the relationship.