Advertisement

05.16.2008 at 01:03PM PDT, ID: 23409625
[x]
Attachment Details

update sql server table based on primary key

Asked by perahuge in MS SQL Server, Microsoft Visual C#.Net

Tags: tSql, c#

I have SQL server table with more than 1M records which I need to update from another table with different structure and more records. Those tables have one column in common, further more this column is pk in table I'm trying to update. How to update fields with common pk column and to insert those records from second table that do not exist in first one?
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.16.2008 at 01:11PM PDT, ID: 21586041

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, Microsoft Visual C#.Net
Tags: tSql, c#
Sign Up Now!
Solution Provided By: angelIII
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628