I want to select some data form another database in another server.
What I know is add a Linked Server, and run the T-SQL.
Is this way is a good choice, or is there any other way to run SQL in other database servers?
thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Adding a linked server is fine.
You will then probably use the 4 part naming convention
Or you could look at OPENROWSET (Transact-SQL)