dbTalk Databases Forums  

DTS Import Table Issue

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


Discuss DTS Import Table Issue in the microsoft.public.sqlserver.dts forum.



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

Default DTS Import Table Issue - 10-28-2005 , 03:27 PM






I am using DTS to import tables into my new database from another
database, both of which reside on the same server. All the tables,
fields and data copy over fine; however when I go into design view of
the copied tables, the default values for all the fields are lost. It
seems to copy the structure, but not the field properties.

I could manually set the values, but this could prove to be very time
consuming. Thought I may have overlooked a setting or simply missed a
step.

Is it possible to have these properties copied over?

Any help/input would be appreciated.


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

Default Re: DTS Import Table Issue - 10-29-2005 , 04:30 AM






Hello scott,

I have just tried this using the Copy SQL Server Objects task and it works
on this structure

CREATE DATABASE A
GO
USE A
CREATE TABLE A(col1 int default 0)
GO
CREATE DATABASE B
GO

I then move A(A) to B(A)


What options do you have set on the final tab of the task?

Allan


Quote:
I am using DTS to import tables into my new database from another
database, both of which reside on the same server. All the tables,
fields and data copy over fine; however when I go into design view of
the copied tables, the default values for all the fields are lost. It
seems to copy the structure, but not the field properties.

I could manually set the values, but this could prove to be very time
consuming. Thought I may have overlooked a setting or simply missed a
step.

Is it possible to have these properties copied over?

Any help/input would be appreciated.




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

Default Re: DTS Import Table Issue - 10-31-2005 , 08:24 AM



Another user has pointed out what I was doing wrong; I was using copy
tables and views within DTS Import/Export instead of copy objects and
data.

Thanks for the reply,
Scott


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.