I am looking to automate a script that deletes archive logs from disc.
I want to issue a command like this:
DELETE NOPROMPT ARCHIVELOG UNTIL SEQUENCE = 300;
Obviously the number 300 will have to be a variable. Does anybody have an
example of how I can get a value from sqlplus and pass it to RMAN