How can I truncate all user table in oracle? I have problem with tables constraints.
You can output, then execute the one you like:
set serveroutput on; begin for r in (select table_name from user_tables) loop dbms_output.put_line('truncate table ' || r.table_name); end loop; end;