makeitwork09
Technical User
We are using SQL Server 2005, which has more than one database.
One of the databases, we will call it X, has a stored procedure that uses many tables from another database that we will call Y.
I know there is a way to get a list of tables used in a stored procedure from within the same database, but given the scenario above, is there a way to get a list of the tables from database Y that are used in a store procedure created in database X?
Thanks
One of the databases, we will call it X, has a stored procedure that uses many tables from another database that we will call Y.
I know there is a way to get a list of tables used in a stored procedure from within the same database, but given the scenario above, is there a way to get a list of the tables from database Y that are used in a store procedure created in database X?
Thanks