When running a SQL statement or a stored procedure on a database, can you connect to an external database and pull data from there?
something like:
S
Yes, you can. You should take a look at linked servers for starters. You can also use OPENROWSET to hit them directly with no linked server.