Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: Backup & Recovery >> SQL using Shell

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: SQL using Shell
 rsreddy28  Posted: Nov 05, 2007 09:47:53 AM

 Total Post: 36
 Joined: Mar, 2007






 Hello Sir,

This is Raj from Hyd, India.Actually I;m trying to write a shell script using SQL.But when I'm setting up a crontab , all that is going to
/var/spool/mail/rsreddy.

Actually what I'm looking is , I want to run any SQL command at the linux level and that too with a crontab.

So, can you please help me out.

--
Cheers,

Rajasekhar Reddy.A

 Murtuja
Posted: Nov 28, 2007 08:03:16 AM  

 Total Post: 843
 Joined: Jan, 2006






 
Hi,

You have to put your SQL in any_name.sql file and you have to call any_name.sql in your shell script.Shell script first establish connection to Oracle.

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar843
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gitesh Trivedi322
  Gopu Gopi268
  neeraj sharma252
  Ramesh Jois245
  Bishal Khetan207






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software