postgresql

PostgreSQL delete all content


I want to delete all data in my PostgreSQL tables, but not the table itself. How could I do this?


Solution

  • Use the TRUNCATE TABLE command.