dbTalk Databases Forums  

Using a DTS to Append data

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


Discuss Using a DTS to Append data in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bob at zachys
 
Posts: n/a

Default Using a DTS to Append data - 10-20-2005 , 07:19 AM






Im new to this and am having trouble with something that Im sure is simple.
I am trying to Append data from one table in a Sql Server to anouther table
in anouther Sql Server. I know how to export or Import a whole table but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank you in
advance for your help

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

Default Re: Using a DTS to Append data - 10-20-2005 , 07:25 AM






Just use the Import/Export Wizard. You can select the option to transfer
data, and select the existing table.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote

Quote:
Im new to this and am having trouble with something that Im sure is
simple.
I am trying to Append data from one table in a Sql Server to anouther
table
in anouther Sql Server. I know how to export or Import a whole table but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank you in
advance for your help



Reply With Quote
  #3  
Old   
bob at zachys
 
Posts: n/a

Default Re: Using a DTS to Append data - 10-20-2005 , 08:02 AM



Thank you I knew it was easy. What I was doing was selecting "Copy tables"
when I Should Have been selecting "Copy Objects and Data"

One last question if you dont mind. Once the DTS package is created is there
a way to rename the Connections to the Server name. This would make viewing
the DTS package in design easier to read. For example could I change
Connection1 to Bobs Sql and Connection2 to Sallys Sql.

Thank you once again I was not expecitng such a quick response

"Darren Green" wrote:

Quote:
Just use the Import/Export Wizard. You can select the option to transfer
data, and select the existing table.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote in message
news:9571D9A5-EC13-4AD2-9857-4C02B6A448E2 (AT) microsoft (DOT) com...
Im new to this and am having trouble with something that Im sure is
simple.
I am trying to Append data from one table in a Sql Server to anouther
table
in anouther Sql Server. I know how to export or Import a whole table but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank you in
advance for your help




Reply With Quote
  #4  
Old   
bob at zachys
 
Posts: n/a

Default Re: Using a DTS to Append data - 10-20-2005 , 09:03 AM



Actually that did not work, I must be missing something.

"bob at zachys" wrote:

Quote:
Thank you I knew it was easy. What I was doing was selecting "Copy tables"
when I Should Have been selecting "Copy Objects and Data"

One last question if you dont mind. Once the DTS package is created is there
a way to rename the Connections to the Server name. This would make viewing
the DTS package in design easier to read. For example could I change
Connection1 to Bobs Sql and Connection2 to Sallys Sql.

Thank you once again I was not expecitng such a quick response

"Darren Green" wrote:

Just use the Import/Export Wizard. You can select the option to transfer
data, and select the existing table.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote in message
news:9571D9A5-EC13-4AD2-9857-4C02B6A448E2 (AT) microsoft (DOT) com...
Im new to this and am having trouble with something that Im sure is
simple.
I am trying to Append data from one table in a Sql Server to anouther
table
in anouther Sql Server. I know how to export or Import a whole table but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank you in
advance for your help




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

Default Re: Using a DTS to Append data - 10-20-2005 , 09:30 AM



You want "Copy tables and views"

Select the two tables. Click the ellipsis in the Transform column on that
pane of the Wizard. There are options for create table, delete data and
append data.

If you have an existing package that you saved, just open it and delete the
Exec SQL Task with any DELETE or CREATE TABLE.


To rename a connection, open the connection, click new connection and give
it a name etc. Check all settings, clock OK.

This will leave you with an orphan connection, it exits, but it will no be
shown on the design sheet. Clean them up like this-

Removing unwanted or orphan connections from a package
(http://www.sqldts.com/default.aspx?253)



"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote

Quote:
Actually that did not work, I must be missing something.

"bob at zachys" wrote:

Thank you I knew it was easy. What I was doing was selecting "Copy
tables"
when I Should Have been selecting "Copy Objects and Data"

One last question if you dont mind. Once the DTS package is created is
there
a way to rename the Connections to the Server name. This would make
viewing
the DTS package in design easier to read. For example could I change
Connection1 to Bobs Sql and Connection2 to Sallys Sql.

Thank you once again I was not expecitng such a quick response

"Darren Green" wrote:

Just use the Import/Export Wizard. You can select the option to
transfer
data, and select the existing table.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote in
message
news:9571D9A5-EC13-4AD2-9857-4C02B6A448E2 (AT) microsoft (DOT) com...
Im new to this and am having trouble with something that Im sure is
simple.
I am trying to Append data from one table in a Sql Server to anouther
table
in anouther Sql Server. I know how to export or Import a whole table
but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank
you in
advance for your help






Reply With Quote
  #6  
Old   
bob at zachys
 
Posts: n/a

Default Re: Using a DTS to Append data - 10-20-2005 , 10:05 AM



Thank you for both answers. I knew it was easy, I was just missing something.

"Darren Green" wrote:

Quote:
You want "Copy tables and views"

Select the two tables. Click the ellipsis in the Transform column on that
pane of the Wizard. There are options for create table, delete data and
append data.

If you have an existing package that you saved, just open it and delete the
Exec SQL Task with any DELETE or CREATE TABLE.


To rename a connection, open the connection, click new connection and give
it a name etc. Check all settings, clock OK.

This will leave you with an orphan connection, it exits, but it will no be
shown on the design sheet. Clean them up like this-

Removing unwanted or orphan connections from a package
(http://www.sqldts.com/default.aspx?253)



"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote in message
news23C90EC-B239-4FC1-9B64-DE3F0298BD37 (AT) microsoft (DOT) com...
Actually that did not work, I must be missing something.

"bob at zachys" wrote:

Thank you I knew it was easy. What I was doing was selecting "Copy
tables"
when I Should Have been selecting "Copy Objects and Data"

One last question if you dont mind. Once the DTS package is created is
there
a way to rename the Connections to the Server name. This would make
viewing
the DTS package in design easier to read. For example could I change
Connection1 to Bobs Sql and Connection2 to Sallys Sql.

Thank you once again I was not expecitng such a quick response

"Darren Green" wrote:

Just use the Import/Export Wizard. You can select the option to
transfer
data, and select the existing table.


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"bob at zachys" <bobatzachys (AT) discussions (DOT) microsoft.com> wrote in
message
news:9571D9A5-EC13-4AD2-9857-4C02B6A448E2 (AT) microsoft (DOT) com...
Im new to this and am having trouble with something that Im sure is
simple.
I am trying to Append data from one table in a Sql Server to anouther
table
in anouther Sql Server. I know how to export or Import a whole table
but I
just want to append some data to an existing table. Both Servers are
registered in the Enterprise manager. Is this possible to do? Thank
you in
advance for your help







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.