Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

use dbms_metadata to change compression

Status
Not open for further replies.

jaxtell

Programmer
Sep 11, 2007
349
0
0
US
Hi,
I'm trying to use the dbms_metadata package to make a copy of a table, changing only the name and the compression. I want to change "compress for oltp" to "compress for query low parallel". Can I do this with dbms_metadata, or is there another way to do it?

Thanks

-----------------------------------------
I cannot be bought. Find leasing information at
 
Can't you just get the create table statement from dbms_metadata and then do a REPLACE(<table script>, 'compress for oltp', compress for query low parallel') on it?

For Oracle-related work, contact me through Linked-In.
 
Yes, and that is my current strategy. But it seems more like a hack than the right way to do it.

-----------------------------------------
I cannot be bought. Find leasing information at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top