Well, here's the real issue. The base tables for this are a PeopleSoft system, where I cannot touch the base tables. I'm limited to just creating a view on the tables to get the data that I need.
You had mentioned putting it in a view that can be called at runtime. Can you expand on that? I didn't really catch the idea from your description.
Main Topics
Browse All Topics





by: DrSQLPosted on 2002-02-05 at 07:38:41ID: 6779679
Since you're just asking for ideas, I'd suggest that you create a different kind of column. A checksum on the long data could be used to determine when you have different values. You would need a function that would calculate a numeric value based on a scan of the entire text (CRC, progressive clumps - sum(ASCII * Position mod 20), etc.). This would either be stored in your table as a new column(especially if it takes few seconds to run), or called from a view at run-time (with the O8i restrictions on LONGs, this would be difficult to write in PL/SQL).
The calculated value would then be used to determine uniqueness (especially for counts like: How many job_descr are there in the company?).
Good luck!