RE: _at_ command does not work in SQL PLUS (OS HP-unix)
Date: Tue, 8 Feb 2011 14:03:02 +0000
Message-ID: <853BE8E3785A554D92010F1FB6C0B279AE3E9BBC_at_LDNPCMMGMB11.INTRANET.BARCAPINT.COM>
Take out the blank line(s).
Add an ';' or a '/'.
SQL> ed abc.sql
SQL> get abc.sql
1* select 1 from dual
2
SQL> run abc.sql
1* select 1 from dual
1
1
SQL> _at_abc.sql SQL> SQL> ed abc.sql
SQL> get abc.sql
1* select 1 from dual;
SQL> _at_abc.sql
1
1
SQL> run abc.sql
1* select 1 from dual
1
1
SQL>
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of cbbakshi_at_aol.com Sent: 08 February 2011 13:45
To: oracle-l_at_freelists.org
Subject: _at_ command does not work in SQL PLUS (OS HP-unix)
Hi,
I have a sql file (abc.sql) which contains some code. I am able to run this using "run" command as
SQL> run abc.sql
1* select 1 from dual
1
SQL> But not able to execute using "_at_" command. If i execute using _at_ it just return to the SQL prompt without executing this file.
SQL> _at_abc.sql SQL> SQL>
Could you please help me in resolving this issue? FYI, I m using Oracle 8.1.7.4.0 on HP-unix (Tru64 UNIX V5.1B (Rev. 2650) Content of abc.sql is
select 1 from dual
/
Thanks and Regards,
Chandra
This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unless specifically indicated, this e-mail is not an offer to buy or sell or a solicitation to buy or sell any securities, investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Barclays. Any views or opinions presented are solely those of the author and do not necessarily represent those of Barclays. This e-mail is subject to terms available at the following link: www.barcap.com/emaildisclaimer. By messaging with Barclays you consent to the foregoing. Barclays Capital is the investment banking division of Barclays Bank PLC, a company registered in England (number 1026167) with its registered office at 1 Churchill Place, London, E14 5HP. This email may relate to or be sent from other members of the Barclays Group.
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 08 2011 - 08:03:02 CST