Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Finding a record and delete

Author  Topic 

osirisa
Constraint Violating Yak Guru

289 Posts

Posted - 2011-04-05 : 11:57:36
I know it sound easy. But it is not. I have two tables with a Project ID number in each table. Those two tables are fed by a third table that bring fresh data for specific project ID. I need to update the information in the first two table by entering the new information from the third table and then delete the old records where Project ID = New Project ID.

Table1.ProjectID(labor) Table2.ProjectID(cost) Table3.ProjectID(newdata)

slimt_slimt
Aged Yak Warrior

746 Posts

Posted - 2011-04-05 : 12:48:30
osiria,

please provide DDL - table definitions with some sample data.
Go to Top of Page
   

- Advertisement -