I am using Oracle11g. I have below two sql queries.
Delete from TableA;
Delete from TableB;
Delete from TableC;
Delete from TableD;
Delete from TableE;
Now how can i create a batch file to run this script By passing the credentials to connect to DB and delete using above queries?
Thanks!
TRUNCATEis the best option to delete the entire content of table. (Unless, aROLLBACKis not needed)