dbTalk Databases Forums  

Import/Export Wizard - Copy Objects

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


Discuss Import/Export Wizard - Copy Objects in the microsoft.public.sqlserver.dts forum.



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

Default Import/Export Wizard - Copy Objects - 10-19-2005 , 08:20 AM






Hello-

I am attempting to transfer stored procedures from a dev database to a
production database. Using the DTS Import/Export Wizard, I select "Copy
objects and data between SQL Server databases."

On the select objects to copy dialog, I deselect copy data and copy all
objects. Using the Select objects command button, I select all and check all
stored procedures.

Running the wizard, the stored procedures are copied, but all of my
destination tables are also truncated. There were no tables selected in the
Select Objects dialog.

I do not want to append data to the destination, and I do not want to
replace the destination data.

Please help me understand why this is happening.

I know that I can run a T-SQL script to create the stored procedures, and
that is what I will do, but I want to understand why when "Copy data" is
deselected, and no tables are selected to be copied to the destination, why
the destination tables are truncated.

Thanks.

Shawn

Reply With Quote
  #2  
Old   
SQL
 
Posts: n/a

Default RE: Import/Export Wizard - Copy Objects - 10-19-2005 , 10:20 AM






Uncheck include all dependent objets

http://sqlservercode.blogspot.com/


"poul0004" wrote:

Quote:
Hello-

I am attempting to transfer stored procedures from a dev database to a
production database. Using the DTS Import/Export Wizard, I select "Copy
objects and data between SQL Server databases."

On the select objects to copy dialog, I deselect copy data and copy all
objects. Using the Select objects command button, I select all and check all
stored procedures.

Running the wizard, the stored procedures are copied, but all of my
destination tables are also truncated. There were no tables selected in the
Select Objects dialog.

I do not want to append data to the destination, and I do not want to
replace the destination data.

Please help me understand why this is happening.

I know that I can run a T-SQL script to create the stored procedures, and
that is what I will do, but I want to understand why when "Copy data" is
deselected, and no tables are selected to be copied to the destination, why
the destination tables are truncated.

Thanks.

Shawn

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

Default RE: Import/Export Wizard - Copy Objects - 10-19-2005 , 12:41 PM



That was it.

Thank you.

"SQL" wrote:

Quote:
Uncheck include all dependent objets

http://sqlservercode.blogspot.com/


"poul0004" wrote:

Hello-

I am attempting to transfer stored procedures from a dev database to a
production database. Using the DTS Import/Export Wizard, I select "Copy
objects and data between SQL Server databases."

On the select objects to copy dialog, I deselect copy data and copy all
objects. Using the Select objects command button, I select all and check all
stored procedures.

Running the wizard, the stored procedures are copied, but all of my
destination tables are also truncated. There were no tables selected in the
Select Objects dialog.

I do not want to append data to the destination, and I do not want to
replace the destination data.

Please help me understand why this is happening.

I know that I can run a T-SQL script to create the stored procedures, and
that is what I will do, but I want to understand why when "Copy data" is
deselected, and no tables are selected to be copied to the destination, why
the destination tables are truncated.

Thanks.

Shawn

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.