![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#3
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#4
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#5
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#6
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#7
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#8
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
#9
| |||
| |||
|
|
I have a few queries I use to locate specific text within job steps, views and stored procedures. These come in handy if you need to do a "find replace" type of operation (although the changes are done manually). For example, our email domain recently changed, so I had to track down any place the old one was listed. Is there any way to do something similar for the tasks within DTS packages in SQL 2000? Here's what I'm using for jobs, I'm basically trying to find the same info for package tasks: SELECT sysjobs.job_id, sysjobs.originating_server, sysjobs.name, sysjobsteps.step_id, sysjobsteps.command, sysjobs.enabled FROM sysjobsteps INNER JOIN sysjobs ON sysjobsteps.job_id = sysjobs.job_id WHERE (sysjobsteps.command LIKE N'%olddomain.com%') Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |