Hi all,
I have two databases DB_External and DB_Internal.
I am writing some stored procedures (in DB_Internal) that reads from
the tables in DB_External. I execute my stored procedures from
DB_Internal.
Everytime I want to read the tables in DB_External, I have to refer to
the table as DB_External.dbo.tableName.
Is there a better way of declaring the database DB_External up front
in the stored procedure so I don't have to pre-fix "DB_External.dbo."
in all the table names?
Thanks in advance,
June Moore.