SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Transact-SQL (2012)
 Data Truncation Issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

baddulas
Starting Member

India
11 Posts

Posted - 03/29/2014 :  14:38:30  Show Profile  Reply with Quote
Hi all,

Please help on the below scenario.

Source - Oracle
Target - SQL Server

After every 2 hours data is truncating from target and loading the source data.Now i don't want to lose the target data.only matched records needs to be delete from target.

Which approach is best for the above scenario.

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1721 Posts

Posted - 03/31/2014 :  18:15:59  Show Profile  Reply with Quote
See MERGE in BOL

===============================================================================
“Everyone wants a better life: very few of us want to be better people.”
-Alain de Botton
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000