Wow i was just playing around with sp_addlinkedserver and i accidentally ran this command: sp_addlinkedserver abc,'SQL Server'
1) i had command(s) completed successfully.. but what happened?
2) how do i undo what i did?
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.
You created a link to a server named
abc.You could try to query the server across this link using a command such as:
But (unless you really do have a server called
abc) it’ll return you a message similar to:You can view your linked server in SSMS under Server
Objects>>Linked Serversin the Object Explorer.To get rid of the linked server, use the following statement: