dbTalk Databases Forums  

Edit DTS package

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


Discuss Edit DTS package in the microsoft.public.sqlserver.dts forum.



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

Default Edit DTS package - 11-28-2005 , 09:52 PM






Hi, I'm new to sql...

I want to transfer data stored in an MS Access database into SQL2000. When
the process is complete I find that the dts process does not:

a. convert autonumber fields into identity(1,1) columns.
b. set default values for columns

I can use enterprise manager to edit the package but this will take a while...
I can edit sql whilst in the dts wizard which will take a while...

I am wondering if there is a better way perhaps a way that I can save the
dts package as a text file (so that I can prgramatically set
defaults/constaints)?

Many thanks

Jonathan

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

Default Re: Edit DTS package - 11-29-2005 , 12:42 AM






When moving the data that is all that happens. Using the datapump you
simply move data nothing more. Moving from Access to SQL Server you
have no other options than to apply the Identity + default vaues
after/before the datapump. You could write a little application that
did this for you by reading the metadata from Access and applying that
to the SQL Server version of the table. You could also create your
tables up front before pumping data into them.

Allan

"Jonathan" <Jonathan (AT) discussions (DOT) microsoft.com> wrote


Quote:
Hi, I'm new to sql...

I want to transfer data stored in an MS Access database into SQL2000.
When
the process is complete I find that the dts process does not:

a. convert autonumber fields into identity(1,1) columns.
b. set default values for columns

I can use enterprise manager to edit the package but this will take a
while...
I can edit sql whilst in the dts wizard which will take a while...

I am wondering if there is a better way perhaps a way that I can save
the
dts package as a text file (so that I can prgramatically set
defaults/constaints)?

Many thanks

Jonathan


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

Default Re: Edit DTS package - 11-29-2005 , 01:25 PM



Allan, thanks for confirming this...

Jonathan

"Allan Mitchell" wrote:

Quote:
When moving the data that is all that happens. Using the datapump you
simply move data nothing more. Moving from Access to SQL Server you
have no other options than to apply the Identity + default vaues
after/before the datapump. You could write a little application that
did this for you by reading the metadata from Access and applying that
to the SQL Server version of the table. You could also create your
tables up front before pumping data into them.

Allan

"Jonathan" <Jonathan (AT) discussions (DOT) microsoft.com> wrote in message
news:0B357B51-83B8-4B9E-8292-30797FD39631 (AT) microsoft (DOT) com:

Hi, I'm new to sql...

I want to transfer data stored in an MS Access database into SQL2000.
When
the process is complete I find that the dts process does not:

a. convert autonumber fields into identity(1,1) columns.
b. set default values for columns

I can use enterprise manager to edit the package but this will take a
while...
I can edit sql whilst in the dts wizard which will take a while...

I am wondering if there is a better way perhaps a way that I can save
the
dts package as a text file (so that I can prgramatically set
defaults/constaints)?

Many thanks

Jonathan



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.