dbTalk Databases Forums  

import non-existing data only

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


Discuss import non-existing data only in the microsoft.public.sqlserver.dts forum.



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

Default import non-existing data only - 06-08-2005 , 10:23 AM






Hi,

I am a newbie at sql server. Can someone please tell me if there is anyway
to only import data from source database that aren't already existed in a
table of the destination database?

Thanks.

Donna



Reply With Quote
  #2  
Old   
Narayana Vyas Kondreddi
 
Posts: n/a

Default Re: import non-existing data only - 06-08-2005 , 10:42 AM






One method is to use DTS Data Driven Query tasks, but they are slow. I
suggest you use the much simpler T-SQL queries to work that out. I have an
example here at:
http://vyaskn.tripod.com/sql_server_..._practices.htm

--
HTH,
Vyas, MVP (SQL Server)
SQL Server Articles and Code Samples @ http://vyaskn.tripod.com/


"Donna" <dmak0 (AT) yahoo (DOT) ca> wrote

Hi,

I am a newbie at sql server. Can someone please tell me if there is anyway
to only import data from source database that aren't already existed in a
table of the destination database?

Thanks.

Donna




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.