Shared (Linked) Tables in MS SQL Server

I plan to move some applications I have in MS Access over to MS SQL Server & C#.  There are several applications, and they all share a few of the same tables.  I don't want to combine all the applications' tables into one big database, because most users will not have all of the applications.  Also, I may build additional applications that share the same tables.  I'd rather not replicate the same shared tables in each application's database.  Is there a way that I could have these shared tables in a separate database that is linked some way to the other applications' databases?

Thanks!
StumpedAndGratefulAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tigin44Commented:
in sql server you may have different databases for yor need.. if you need to reference to an object from a different database then you can reference it by using the

   dbname.schemaname.objectname

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tigin44Commented:
a simple example

SELECT *
FROM DB1.dbo.table1 T1
   INNER JOIN DB2.dbo.table2 T2 ON T1.id = T2.id
0
itsdivyaksCommented:
If both the databases reside in the same server, then you can refer using DBName.dbo.Table. If you are using different servers to place the database, then you have to add the server as linked server and use open query
0
StumpedAndGratefulAuthor Commented:
Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.