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.
| Author |
Topic |
|
akashenk
Posting Yak Master
111 Posts |
Posted - 2007-07-20 : 13:25:11
|
| Is it possible to reference an external Database (on the same SQL Server Instance) within a stored porcedure? For example, I have a database called COMMON and a Database called ACCOUNTX. ACCOUNTX has a stored procedure that queries a table. There is a table in COMMON with a list of zipcodes. I would like to join the table in ACCOUNTX to some records from this table in COMMON. |
|
|
rudesyle
Posting Yak Master
110 Posts |
Posted - 2007-07-20 : 13:31:18
|
| Sure : databasename.dbo.TableName |
 |
|
|
akashenk
Posting Yak Master
111 Posts |
Posted - 2007-07-20 : 17:28:30
|
| thanks! |
 |
|
|
|
|
|