|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Updating table while importingI have a table like the below table EmpNo Skills 1 C++ 2 Java Now after 1 week get an udated table which is like EmpNo Skills 1 Java 2 Unix 3 ASP 4 SQL Server I want to update the table for "EmpNo" 1 & 2 and at the same time i want to insert values for "EmpNo" 3 & 4 .How can this be done. Thanks Anshul You need to do this in separate UPDATE and INSERT queries.
-- Tom ---------------------------------------------------- Thomas A. Moreau, BSc, PhD, MCSE, MCDBA SQL Server MVP Columnist, SQL Server Professional Toronto, ON Canada www.pinpub.com .. "Amu" <anshul.3***@gmail.com> wrote in message I have a table like the below tablenews:1141381021.314387.119110@e56g2000cwe.googlegroups.com... Hi All, EmpNo Skills 1 C++ 2 Java Now after 1 week get an udated table which is like EmpNo Skills 1 Java 2 Unix 3 ASP 4 SQL Server I want to update the table for "EmpNo" 1 & 2 and at the same time i want to insert values for "EmpNo" 3 & 4 .How can this be done. Thanks Anshul |
|||||||||||||||||||||||