Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 Sharing table between 2 or more dtabases

Author  Topic 

korssane
Posting Yak Master

104 Posts

Posted - 2009-03-16 : 22:30:08
Hi peers,

- i want to know if it is possible to share a main table between 2-3 databases. I am using sqp 2k5 express edition.
If so how can i do it or what is the alternative solution?

Thanks

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2009-03-17 : 03:57:23
No, you can't share a table between databases. But you can access the table across the databases (provided all the databases are on single server) using the following three-part syntax:

database-name.owner-name.table-name


Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -