I'd like to change a create table script to decide at run time which compression to use. Here is what I have so far
I'll replace the hard coded 'oltp' with some logic to determine appropriate compression. Is this the right way to accomplish defining a value at runtime? Is there a better way?
-----------------------------------------
I cannot be bought. Find leasing information at
Code:
set define on
column compression new_value compress_for noprint
select 'oltp' as compression from dual;
create table ....
compress for &compress_for
...;
set define off
I'll replace the hard coded 'oltp' with some logic to determine appropriate compression. Is this the right way to accomplish defining a value at runtime? Is there a better way?
-----------------------------------------
I cannot be bought. Find leasing information at