I have a relatively large database application that has a user table with a record for every member of staff.
I have another, tiny, database that is a record of all educational courses attended by a member of staff. This database is actually only a handful of tables migrated from a legacy app and is now standalone.
The two applications share nothing in common other than the users.
Is it “best” to simply import the smaller database tables in to the larger database and update the application or is it possible to access/use in a relation the user table in the larger database?
Thanks
Assuming the small database will never write to the large one, I would set up a view on the small DB that provides the exact info you need. If both db’s are hosted on the same server, the view can select from the large db by specifying the full name of the table (server.database.schema.table), assuming the user has the appropriate access rights. If they are on separate database servers, you will also need to setup a linked database.