Posted By

kamilch on 08/06/09


Tagged

Oracle


Versions (?)

Drop sequences in current schema


 / Published in: PL/SQL
 

  1. -- drop sequences from current schema
  2. sequence_name VARCHAR2(128);
  3. CURSOR usersequences IS SELECT * FROM user_sequences;
  4. FOR next_row IN usersequences
  5. EXECUTE IMMEDIATE 'drop sequence ' || next_row.sequence_name || '';
  6. /

Report this snippet  

You need to login to post a comment.