Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai...


I have two table A and B.Table A Contain 22 Fields and Table B Contain Same fields as Table A. Here i want to compare two table row wise,i.e Checking whether Table B contain same rows as in Table A.If there is any different rows then,i want to store that row in third Table.Is there any Sql query to do this. Here i am using C#.net as Front end and sql server 2000 as back end. Please help me.

With Thank you
Sujith
Posted

1 solution

Use Union as described in article below
http://weblogs.sqlteam.com/jeffs/archive/2004/11/10/2737.aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900