Script mapping help (1 Viewer)

lessthanme5

Registered User.
Local time
Today, 04:59
Joined
Mar 7, 2006
Messages
43
Hi,

I have been given the task to map all links in and out of a number of SQL databases. (from what to what).

I am fairly new at SQL, so I do not know if there is a quicker way than going through each script and stored procedure and manually reading through them looking for link references...

Does anyone know how to help?

FYI, there is a lot of stored procedures!!!

Thank you.

lessthanme5
 

lessthanme5

Registered User.
Local time
Today, 04:59
Joined
Mar 7, 2006
Messages
43
thanks George, but I have been told my budget for this is the grand total of £0... so is there a quicker and less expensive way? possibly a visual script that will do it?
 
Local time
Yesterday, 22:59
Joined
Mar 4, 2008
Messages
3,856
No, the download takes a couple of minutes, the install takes a couple of minutes, the setup/connection takes a couple of minutes, and the software is shareware with this feature enabled. Not sure how to get it cheaper (than 0) or faster (less than an hour, I would think).
 

WayneRyan

AWF VIP
Local time
Today, 04:59
Joined
Nov 19, 2002
Messages
7,122
LessThanMe,

I can sympathize with your budget.

I think that you can use sp_helptext and suck all of those Stored Procedures
into an Access table. I did that to search for references; which procedures
access a certain table, or contain a certain string.

It was pretty easy to use, but my only sample code is at work. The system
SP does return the entire text and it was quite easy to implement.

Oh, and it works for Triggers also.

hth,
Wayne
 

SQL_Hell

SQL Server DBA
Local time
Today, 04:59
Joined
Dec 4, 2003
Messages
1,360
Hi there

If I were looking for a reference to a table called 'customers'. This is how you do it:



Code:
select * 
from sys.sysobjects so 
inner join sys.syscomments sc 
on sc.id = so.id
where text like '%customers%'
 

Users who are viewing this thread

Top Bottom