1
Anakata
3y

How to purge a table in Oracle through a Scala Application?

Comments
  • 2
    Doesn't 'truncate <table>' work?
  • 4
    # apt purge mysql
    # apt install postgresql
  • 0
    # shred -fz -n 100 /dev/sda2

    Should do the job.
  • 1
  • 0
    @Root don't we just throw the physical drive in the trash heap after that?
  • 0
    @C0D4 No -u means the names are all still there, so it’s either -u or +NIN :)
  • 2
    @Root
    -u removes the files, well --remove=wipe

    Throwing it in the bin has a similar affect, unless we are planning on reusing this miserable drive after it having oracle db on it.

    as for you @Anakata

    truncate tableName;
    Or
    drop tableName;
    Or
    delete from tableName;

    Depending on your definition of purging it.
Add Comment