title: Convert Non-partition table to partitioned table using ONLINE in Oracle PL/SQL
body: <p>I got to know as we cannot convert existing non-partitioned table to partitioned table but the below link from the Oracle suggest that with the help of "ONLINE" keyword we can do it.  </p>
  
  <p><a href="https://docs.oracle.com/en/database/oracle/oracle-database/12.2/vldbg/evolve-nopartition-table.html#GUID-5FDB7D59-DD05-40E4-8AB4-AF82EA0D0FE5" rel="nofollow noreferrer">https://docs.oracle.com/en/database/oracle/oracle-database/12.2/vldbg/evolve-nopartition-table.html#GUID-5FDB7D59-DD05-40E4-8AB4-AF82EA0D0FE5</a></p>
  
  <pre><code>CREATE TABLE my_tab ( a NUMBER(38,0), b NUMBER(38,0)); 
  
  ALTER TABLE MY_TAB MODIFY PARTITION BY RANGE (a) INTERVAL (1000) (   
      PARTITION p1 VALUES LESS THAN (1000)) ONLINE;
  </code></pre>
  
  <p>But it's not working for me, throwing error as "Invalid Partition Name". </p>
  
  <p>I don't want to use <code>dbms_redefinition</code>.</p>