Skip to content
Snippets Groups Projects

Supprimer plusieurs table dans PgAdmin

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Gregory.Ooghe
    Edited
    drop_table_start_with.sql 295 B
    SELECT CONCAT('DROP TABLE ',table_name,';')
    FROM information_schema.tables
    WHERE table_name LIKE 'output_%'
    
    /* 
    Va fournir une liste de commande pour effacer les tables commençant par output_.
    On peut ainsi vérifier la liste.
    Une fois vérifier on la copie/colle dans la fenêtre de Query.
    */
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment