You have to configre the linked server first. Then you can specify ip address/server_name in your query to fetch the data from the remote server.
Senthil Kumar C ------------------------------------------------------ MCITP - Database Administration SQL SERVER 2008 MCTS - Database Development SQL SERVER 2008
I am doing a query on some tables on database A, but somewhere along the way I realize that I need the data from another system which uses database B on another server (both SQL Server). I can login to database B and see the data, but I need to do this within a stored prcoedure, and join a table in database B to my queries in database A.