We start with something like this:
SELECT 
      list_of_fields
FROM
      table_a  a,
      table_b  b,
      table_c  c,
      table_d  d
WHERE
      blah, blah, blah
Just add this to your list of fields:
     a.rowid "A", 
     b.rowid "B", 
     c.rowid "C", 
     d.rowid "D"  
(You don't have the "A", "B", "C" and "D" if you'd rather let all the columns be called "rowid" and count column positions--which is what I actually did.)
The output looks like gibberish, but on at least one of the columns the rowid will have at least one character different from the previous row within the same set of "identical" rows. That's the table at fault.
Best wishes!
 

No comments:
Post a Comment