| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Best Practices Question
Patrick
You could revert to a pre-8i trick of getting around the lack of function-based indexes which was to have an additional column in your UNIX Oracle table storing the first 11 characters of the account number. Then index it. This way it doesn't interfere with the index on the 12 character account number column that your loads and MIS queries are currently based on.
As far as populating this column goes, you have three choices:-
If your testing and release procedures in your place are erroneous, I would probably opt for method 3 in a straight .sql script. One transaction, easy testing and release. I would preferably go for method 1 for consistency of approach etc.
Whichever way you do it, you have an indexed equality predicate...
Of course, the UNIX "DBA" will have to give a little and add the column. With all the troubles going on in the world, another column on a table is really not a big deal is it? - he will still have food and water tonight in his nice warm house...
Hope this helps.
Regards
Adrian
Received on Wed Feb 13 2002 - 15:52:32 CST
![]() |
![]() |