drop all the table in a 3-node cluster (say 800 tables)
drop all the table in a 3-node cluster (say 800 tables)
0
The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.
Join us there to post discussion topics, learn about
product releases, share tips, access the blog, and much more.
Comments
DROP SCHEMA xxx CASCADE;
CREATE SCHEMA xxx;
vsql -aT -c "select 'drop table '||table_name||' cascade;' from tables" | vsql
vsql -At -c "select 'drop table '||table_name||' cascade;' from tables" | vsql
because: