x
login about faq Site discussion (meta-askssc)

SQL server2008R2

Hi, I have a linked server in my set up I need to find the linked server dependencies.Could anyone please help me out with the query for it?.Also i need the query for getting the actual datasource of the alias server.Please let me know about it in detail

Thanks in advance

more ▼

asked Jun 15 '10 at 02:11 PM in Default

hemasree gravatar image

hemasree
1 1 1 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort oldest

When you say dependencies, do you mean references to the linked server in stored procedures/functions etc.

You could search sys.sqlmodules

Select * from sys.sqlmodules where definition like '%linked server name%'

alternatively you could use 3rd party tools like Red Gate's SQL Search

more ▼

answered Jun 15 '10 at 07:57 PM

Kev Riley gravatar image

Kev Riley ♦♦
46.1k 39 43 69

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x463
x92

asked: Jun 15 '10 at 02:11 PM

Seen: 869 times

Last Updated: Jun 15 '10 at 07:41 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.