dbTalk Databases Forums  

New Rows

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


Discuss New Rows in the microsoft.public.sqlserver.dts forum.



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

Default New Rows - 11-08-2004 , 06:32 AM






Hi,
I have two questions:
1) I have the same databases on two different servers. I modified, added and
dropped indexes on one of the databases and I need to transfere only the
index changes to the other database. Is it possible to use Copy Objects
Task? I tried but it affects the tables too.

2) I need to transfer only new rows added from databse A to database B. Is
DTS able to identify only new rows (or the rows that don't exist in database
B) and transfer them to B? I cannot use replication :-(

Any help would be greatly appreciated.
Leila



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

Default Re: New Rows - 11-08-2004 , 01:09 PM






Personally I would use scripts to transfer any changes.

Can DTS identify new rows? No not unless you tell it what to look for.

You can use linked servers and TSQL statements to identfy the new rows by
matching on key values and likewise with deleted rows etc.

Can you identitfy in the source rows the changes ?

If not then you will need to program the logic

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Leila" <leilas (AT) hotpop (DOT) com> wrote

Quote:
Hi,
I have two questions:
1) I have the same databases on two different servers. I modified, added
and
dropped indexes on one of the databases and I need to transfere only the
index changes to the other database. Is it possible to use Copy Objects
Task? I tried but it affects the tables too.

2) I need to transfer only new rows added from databse A to database B. Is
DTS able to identify only new rows (or the rows that don't exist in
database
B) and transfer them to B? I cannot use replication :-(

Any help would be greatly appreciated.
Leila





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.