Spool Archive

  • Oracle: Delete all rows from all tables etc…

    Oracle: Delete all rows from all tables etc…

    Quick method to do multiple actions across multiple tables. Simply spool a script with your commands in for each table – this way you can avoid dropping your tables or user and still keep all your schema structure. So for instance to delete all data...

    Project info

  • Spool a CSV file from Oracle/ SQL*Plus without quotes

    Spool a CSV file from Oracle/ SQL*Plus without quotes

    Quite useful, I had the case where I needed to provide a CSV file to an external party from our Oracle 10g database. No problem, there are loads of CSV export tools out there. But it then transpired that the CSV’s that I was generating...

    Project info