Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Avoiding generating redo logs
Frank van Bortel wrote:
> DA Morgan schreef:
>
>> My recommendation would be that you use global temporary tables to cache >> the data as in the following: >> >> CREATE GLOBAL TEMPORARY TABLE test ( >> zip_code VARCHAR2(5), >> by_user VARCHAR2(30), >> entry_date DATE) >> ON COMMIT PRESERVE ROWS;
>> >> This is likely the most efficient structure for your purposes. >> >> But I am left wondering why you think it desirable to let an end user >> sort and filter anything. Wouldn't it be far easier to just teach them >> how to use the WHERE and ORDER BY clauses correctly?
Didn't see that requirement before.
My feeling, as already stated, is that OP is wasting time as filter and sorting should be done by the SELECT statement.
-- Daniel Morgan University of Washington Puget Sound Oracle Users GroupReceived on Sat Sep 16 2006 - 14:11:37 CDT