Skip to Main Content

Write Great SQL Office Hours

Free tips and training every month! Subscribe for reminders and more from Office Hours. FAQ
Dev Live Dev Intro

This month we are celebrating Developers at AskTOM. We welcome Developers of all levels of experience to join us at our FREE Developer Live events coming in August. Just click on the left to register today! If you are brand new to Database Technology, then we also have got you covered. Just click on the right for your comprehensive FREE training program to kick start your Oracle Database Development journey!

Header container

August 20

13:00 UTC   Start Times Around the World

Coolest Newest Features of External Tables
Importing and exporting data from your database is a common requirement. Many are aware that you can create external tables to read CSV files with the power of SQL.

But it's little known that you can also use external tables to export data too!

This session will recap the key enhancements to external tables in recent releases. Including the most recent addition: the ability to read internal and external data with 19c's hybrid partitioned tables

Join us to learn how to get the best out of this powerful tool.

Subscribe to give us feedback and be notified of upcoming sessions!

Experts

Your Experts
Chris Saxon
Chris Saxon, Oracle Developer Advocate for SQL    
Chris Saxon is the quizmaster for the Database Design competitions and an Oracle Developer Advocate for SQL. His job is to help you get the best out of the Oracle Database and have fun with SQL! He's also part of the answer team on Ask TOM and creates YouTube videos at The Magic of SQL channel.
Keith Laker
Keith Laker, Senior Principal Product Manager    
I have been working with Oracle data warehouse technology for over 20 years working on a wide variety of data warehouse projects both as a consultant and an onsite support engineer. I am now part of the Data Warehouse Product Management Team where I am responsible for analytical SQL. I am based in the UK at our Manchester office. A key part of my role is to work with our sales teams to brief our customers on data warehousing and analytical SQL: explaining the wide variety of new and exciting opportunities that our DW and analytical solutions can support. I regularly deliver sales training for data warehousing and analytical SQL across all our sales regions and provide competitive intelligence support across all the major data warehouse vendors.

Answers

Answers
Question
Hi, I have a requirement where I need to do interval subpartition over a table. but there is an oracle limitation on interval subpartition. how can I achieve this? below is the example. Create table CARS (auto_make varchar(30), Auto_model varchar(30), Purchase_date date) PARTITION BY LIST (auto_make) SUBPARTITION BY RANGE (Purchase_Date) interval (NUMTOYMINTERVAL(1,'month')) SUBPARTITION TEMPLATE (subpartition sp1 values less than TO_DATE('15-03-2015','dd-mm-yyyy')) (partition p_vw values ('JETTA')); Error report - SQL Error: ORA-14179: An unsupported partitioning method was specified in this context. 14179. 00000 - "An unsupported partitioning method was specified in this context." *Cause: An attempt was made to specify an unsupported partitioning method in this context. *Action: Remove the invalid option. Thanks in advance.
Answer

Sorry, as the error indicates, interval subpartitioning isn't implemented yet!

Can Show more.

Answered by Chris Saxon -