DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Comparing 2 tables data

  1. #1
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865

    Exclamation Comparing 2 tables data

    I have 2 tables A & B, which have to be compared based on a key in both the tables.

    Col 1 of Table A should be compared with Col 2 of Table B. So also,
    Col 2 of Table A should be compared with Cols 3 and 4 of Table B.

    Based on the above comparison, I need to list the number of rows in Table A not present in Table B. Similarly the number of rows in Table B not present in Table A should also be listed.

    Can someone help me with this ?

    Thanks.

  2. #2
    Join Date
    Sep 2000
    Location
    Chennai, India
    Posts
    865
    Thanks. I've completed it, by debugging the code with manageable small sample tables.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width