Solved

SQL Server 2000 - How to find an object , query or job

Posted on 2013-01-31
2
236 Views
Last Modified: 2013-01-31
Hi..
I have a DB with hundreds of SPs, Jobs, DTS packages etc.
How can I find the SP or Jobs or DTS that contain a 'keyword'?

I'm trying to find a '25K'  in the text of SP, Job, DTS package .

How can I search a database and locate an object , job etc that contains the words?
0
Comment
Question by:JElster
2 Comments
 

Assisted Solution

by:ndr-itsolutions
ndr-itsolutions earned 100 total points
Comment Utility
0
 
LVL 39

Accepted Solution

by:
lcohan earned 400 total points
Comment Utility
--Run a statement like in the DB you know the object is:


select * from syscomments where text like '%TextToSearchHere%'


if you need to run at server level you can use a undocumented MSFOREACHDB stored proc and run the same code as above.

For DTS - if you have them saved as files, you can search within the file.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now