Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> procedure

procedure

From: Malik, Fawzia <Fawzia.Malik_at_bskyb.com>
Date: Thu, 21 Aug 2003 06:54:32 -0800
Message-ID: <F001.005CBF59.20030821065432@fatcity.com>

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
&&timestamp..but am unable to do this in the above as it ignores
&&timestamp...please can someone give me some suggestions/hints.??

Thanks in advance

Fawzia



Information in this email is confidential and may be privileged. It is intended for the addressee only. If you have received it in error, please notify the sender immediately and delete it from your system. You should not otherwise copy it, retransmit it or use or disclose its contents to anyone.
Thank you for your co-operation.
-- 
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US