dbTalk Databases Forums  

How to find TSQL Code in SSIS Packages

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to find TSQL Code in SSIS Packages in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM






Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #12  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM






Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #13  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM



Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #14  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM



Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #15  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM



Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #16  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM



Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
  #17  
Old   
Cqlboy
 
Posts: n/a

Default Re: How to find TSQL Code in SSIS Packages - 08-08-2008 , 07:46 PM



Thanks for the response. The problem is I"m minimizing my developers going
to the desktop so we've elected to store our packages inside the msdb -
simplifies many things greatly. I've searched system tables and can't yet
find any table storing SSIS info I can query that will find targeted TSQL
code. It's this same problem I ran into with DTS packages back on SQL 2000,
which really turned me off. Security, Optimization, and locating bad or
forbidden TSQL written by an army of developers was a complete nightmare.
Any suggestions would be greatly appreciated. -CqlBoy

"Gerald Aichholzer" wrote:

Quote:
Hi,

Cqlboy wrote:
I've got > 300 very complicated SSIS packages which execute TSQL and stored
procedures. SSIS Packages are executed by jobs and some are executed
manually. At various times I have issues with executing spids and need to
hunt down offending code. I can get to the TSQL command via DMV's but how do
I find which SSIS Package(s) contains the offending code? What if I have a
stored procedure that, for whatever reason, I have to locate all references,
i.e. sp_send_dbmail. Is there a better way than opening up 300+ SSIS
packages and going through them with a fine tooth comb? Whew ! What a
lotta' work. Is there somewhere I can just query the syscomments table for
SSIS Packages ??? Thanks. -CqlBoy

dtsx-files are xml-files. So you can use any tool which supports
searching for text in several files, e.g. grep, find or a good
text editor, e.g. notepad++

hth,
Gerald


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.