Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Selecting SIMILAR, not the same records (PROBABLE) duplicates
kroger wrote:
>>> I'm a Java programmer >>> >> Not to be too cruel but this explains much.
>> From the DBMS side my basic premise is that if the data is not >> constrained a part of a primary key, unique constraint, foreign >> key, check constraint, or by a trigger ... it is a memo field and >> one should expect it to contain nothing but garbage. >> >> That seems to be your current situation.
>> Get someone to apply some SQL or PL/SQL to the problem.
Look at Oracle REGULAR EXPRESSIONS as a means of solving the problem. Look at the use of a trigger. There are a lot of possibilities. What bothers me about what appears to be your criteria is that it seems to be arbitrary ... that only a subject matter expert can know what is and is not valid. If you've got, as you state, business rules someone needs to apply them to the data before it ever gets into the table.
-- Puget Sound Oracle Users GroupReceived on Wed Sep 06 2006 - 18:15:07 CDT
![]() |
![]() |