title: Create or replace global subtype
body: <p>I know that I can create a subtype inside a package specification like:</p>
  
  <pre><code>CREATE OR REPLACE PACKAGE XY
  AS
    SUBTYPE type_sdebug IS VARCHAR (200);
    ...
  END;
  /
  </code></pre>
  
  <p>If I want to use the same subtype within another package then I need to redefine the same type again. Is there a way to create or replace a global subtype such as: </p>
  
  <pre><code>CREATE OR REPLACE TYPE STRING_ARRAY AS VARRAY(500) OF VARCHAR2(30);
  /
  </code></pre>