dbTalk Databases Forums  

SP_RENAME bombs DTS Package

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


Discuss SP_RENAME bombs DTS Package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bdtmike@hotmail.com
 
Posts: n/a

Default SP_RENAME bombs DTS Package - 08-19-2005 , 01:58 AM






I have a main DTS package (call this "Package A") that calls another
DTS package (call this "Package B"). Package "B" does many things but
one of the last steps it uses SP_RENAME to rename some tables. Package
"B" runs just fine on its own. However, when called from Package "A",
Package "A" returns an error. The details of this error shows:

"Changing any part of an object name could break scripts and stored
procedures"

This is the warning message that always pops up when you use this
sproc. When I run Package "B" directly, I get no such message. Only
when run from package "A"


Reply With Quote
  #2  
Old   
bdtmike@hotmail.com
 
Posts: n/a

Default Re: SP_RENAME bombs DTS Package - 08-20-2005 , 02:07 AM






Never mind, I figured it out. Package B had its workflow properties
set to "Run under main thread". When I unchecked that, the warnings
didn't trigger an error in the calling package


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.