Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> procedure
Hi Guys
I am executing the delete commit procedure as follows:
#!/bin/ksh
sqlplus -s archive/archive <<eof
spool /tmp/del_report
exec delete_commit('delete from table where timestamp
<=to_date(''03/06/03'',''dd/mm/yy'')',1000)
spool off
exit
eof
Ideally what I'd like to do is set timestamp as a variable i.e
&×tamp..but am unable to do this in the above as it ignores
&×tamp...please can someone give me some suggestions/hints.??
Thanks in advance
Fawzia
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Malik, Fawzia INET: Fawzia.Malik_at_bskyb.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Aug 21 2003 - 09:54:32 CDT
![]() |
![]() |