Re: efficient compare

From: -CELKO- <jcelko212_at_earthlink.net>
Date: 21 Apr 2006 15:49:37 -0700
Message-ID: <1145659777.783273.304920_at_v46g2000cwv.googlegroups.com>


Opps! And some products will accept "TABLE A EXCEPT TABLE B", but I like "SELECT * FROM ." a bit better.

To answer Bob's question about physical implementation and efficiency, that would vary from product to product. However, I think that DB2 turns the whole row into a long bit string to do the matching, so it runs really fast. Years ago, I found that the Oracle MINUS operator was the fastest way to do a relational division. Received on Sat Apr 22 2006 - 00:49:37 CEST

Original text of this message