dbTalk Databases Forums  

Copy sprocs to a remote server

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


Discuss Copy sprocs to a remote server in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dan
 
Posts: n/a

Default Copy sprocs to a remote server - 09-12-2004 , 04:13 AM






My objective is to copy sprocs created on my desktop to a remote database.
Both servers are registered in DTS.
I have created a DTS package. When run it displays the message
"successfully completed execution of package". However, none of the stored
procedures are actually copied to the remote server.
What could be the cause?
Thanks,
Dan



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Copy sprocs to a remote server - 09-12-2004 , 04:36 AM






You do not tell us what your package contains but I am guessing thaat it is
DataPump task which as you have discovered will take across dat (AND)
table definitions. To move procs you can use the Copy SQL Server objects
task OR you can simply script out the procs from EM and apply the script
through QA to the remote server.


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"dan" <dea (AT) deamon (DOT) com> wrote

Quote:
My objective is to copy sprocs created on my desktop to a remote database.
Both servers are registered in DTS.
I have created a DTS package. When run it displays the message
"successfully completed execution of package". However, none of the
stored
procedures are actually copied to the remote server.
What could be the cause?
Thanks,
Dan





Reply With Quote
  #3  
Old   
dan
 
Posts: n/a

Default Re: Copy sprocs to a remote server - 09-12-2004 , 07:30 AM



Thank you very much for your very prompt replies!
Actually I used the Copy SQL Server objects task. What went wrong?
I will try the second method after I will find out how exactly to script out
procs.
Thanks again,
Dan




"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
You do not tell us what your package contains but I am guessing thaat it
is
DataPump task which as you have discovered will take across dat (AND)
table definitions. To move procs you can use the Copy SQL Server objects
task OR you can simply script out the procs from EM and apply the script
through QA to the remote server.


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know


"dan" <dea (AT) deamon (DOT) com> wrote in message
news:uiPGOjKmEHA.2340 (AT) TK2MSFTNGP11 (DOT) phx.gbl...
My objective is to copy sprocs created on my desktop to a remote
database.
Both servers are registered in DTS.
I have created a DTS package. When run it displays the message
"successfully completed execution of package". However, none of the
stored
procedures are actually copied to the remote server.
What could be the cause?
Thanks,
Dan







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.