The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 03-21-2008
ravi gongati ravi gongati is offline
Registered User
 

Join Date: Mar 2008
Posts: 15
Question Thanks thana

I will explain my total requirement:-
We are developed script in PL/SQL. In the PL/SQL script i was got the fallout report(no. of rows records not extracted well).

Now client he was asking us like we want to execute the script in unix mechine. He was asking like while executing the PL/SQL script in unix the fallouts should be automatically store in Fallout table.Is it possible.

give me your mail id i will send my PL/SQL that will easy for both to understand.



Quote:
Originally Posted by thana View Post
Code:

#!/bin/bash
sqlplus -s /nolog << EOF

CONNECT $DB_USER/$DB_PASSWORD

Your sql query here
................
.............

end;
/
EOF
Reply With Quote