dbTalk Databases Forums  

Can Copy DB Wizard overwrite Master SPs?

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


Discuss Can Copy DB Wizard overwrite Master SPs? in the microsoft.public.sqlserver.dts forum.



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

Default Can Copy DB Wizard overwrite Master SPs? - 02-20-2004 , 03:31 PM






A Copy Database wizard was run and the optional Master objects were copied as well. They weren't meant to be included in the copy and now there are 5 Stored Procedures in the destination Master showing they were created at the time the copy was done. I don't remember if those stored procedures were already on the destination server before the copy. Is it possible that the copied Master SP objects could have overwritten any existing SP with the same name in the Master? I know that MSDB objects aren't copied if they already exist, but is it the same for Master objects? Please help.

Reply With Quote
  #2  
Old   
Jared F
 
Posts: n/a

Default RE: Can Copy DB Wizard overwrite Master SPs? - 02-20-2004 , 09:41 PM






I have done that once or twice and never noticed anything being overwritten, but I don't know for sure.

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

Default Re: Can Copy DB Wizard overwrite Master SPs? - 02-21-2004 , 01:51 AM



Are we talking about the Transfer Databases Task in 2000? AFAIK that didn't
allow you to take over system databases i.e. Master.
Or are welking about the Transfer objects task which does allow you to move
things from master?

The latter will not show you objects defined as being SYSTEM.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Jared F" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have done that once or twice and never noticed anything being
overwritten, but I don't know for sure.




Reply With Quote
  #4  
Old   
Fiona
 
Posts: n/a

Default Re: Can Copy DB Wizard overwrite Master SPs? - 02-23-2004 , 08:06 AM



Thanks for your help. I am talking about the Copy Database Wizard on SQL Server 2000, where it lets you move or copy supporting shared objects in Master and MSDB, etc along with the database you're copying. I saw in the documentation that the MSDB objects wouldn't be copied if they already existed on the destination server, but it didn't say that about the Master objects (It didn't say they would either). What I am worried about is whether or not the user defined stored procedures which were copied from the old server to the new server could have overwritten stored procedures of the same name (that were possibly changed since being on the new server). Thanks again.

Reply With Quote
  #5  
Old   
Darren Green
 
Posts: n/a

Default Re: Can Copy DB Wizard overwrite Master SPs? - 02-24-2004 , 01:29 PM



In message <575DE80C-5186-4F73-9DE4-6858CFA510BD (AT) microsoft (DOT) com>, Fiona
<anonymous (AT) discussions (DOT) microsoft.com> writes
Quote:
Thanks for your help. I am talking about the Copy Database Wizard on
SQL Server 2000, where it lets you move or copy supporting shared
objects in Master and MSDB, etc along with the database you're copying.
I saw in the documentation that the MSDB objects wouldn't be copied if
they already existed on the destination server, but it didn't say that
about the Master objects (It didn't say they would either). What I am
worried about is whether or not the user defined stored procedures
which were copied from the old server to the new server could have
overwritten stored procedures of the same name (that were possibly
changed since being on the new server). Thanks again.
Not familiar with the Wizard, but I if it is a concern/problem why not
try one of the numerous database compare tools available, e.g.

Compare and synchronize the structure of SQL Server databases
(http://www.red-gate.com/SQL_Compare.htm)


Apex SQL Tools: SQL tools for Database comparison and synchronization
(http://www.apexsql.com/index_sqldiff.htm)


There are loads more, but they are two companies I can remember the Url
for to have a quick look. I like Red-Gate myself, but haven't really
done a proper market comparison.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



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.