I'm trying to do a delete of all rows from a table via Shell Script. The database is oracle. The bank for some reason does not let me do truncate and the delete simply does not delete, without presenting any error. I do not really know why, when trying to do such operations through PL / SQL Developer, I can usually, but through Linux I can not.
Code I am using:
sqlplus -s usuario/senha <<EOF
delete from table;
exit;
EOF