unix for oracle


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers unix for oracle
# 1  
Old 12-20-2006
unix for oracle

Hi unixers, Smilie
Anyone have any links or online tutorials for Shell Scripting with respect to Oracle .
Any example of script calling any Oracle procedure or function or passing parameters is highly appreciated.


















cheers
RRK
# 2  
Old 12-20-2006
Why you leave space after your message until cheers, you can put your regards immediately after your message, sorry, no offense meant here, only to remind you if you are doing it out of habit, save the space and planet Smilie
# 3  
Old 12-20-2006
# 4  
Old 12-27-2006
Quote:
Originally Posted by ravi raj kumar
Hi unixers, Smilie
Anyone have any links or online tutorials for Shell Scripting with respect to Oracle .
Any example of script calling any Oracle procedure or function or passing parameters is highly appreciated.
wht do u want to know abt oracle..
its something like configuration of MT's & DB's or wht type.. first try to master shell script & oracle ... n u are the geek u can work of ur own...
# 5  
Old 12-27-2006
Quote:
Originally Posted by gokulagiridaran
wht do u want to know abt oracle..
its something like configuration of MT's & DB's or wht type.. first try to master shell script & oracle ... n u are the geek u can work of ur own...
hmmm not really sure that answer is going to help much... sounds a bit rude too!

Anyway, you might want to try searching the forums here. There have been a few posts about this topic already. Here are a couple of useful posts Smilie

https://www.unix.com/shell-programming-and-scripting/30228-shellscript-query-oracle-table-populate-text-file.html

https://www.unix.com/shell-programming-and-scripting/20508-how-return-array-elements-oracle-shell-script.html

https://www.unix.com/shell-programming-and-scripting/33933-connecting-oracle-shell-what-am-i-doing-wrong.html

and of course there is always google Smilie

Hope this helps!
# 6  
Old 12-27-2006
Bug

Quote:
Originally Posted by _Spare_Ribs_
hmmm not really sure that answer is going to help much... sounds a bit rude too!

Anyway, you might want to try searching the forums here. There have been a few posts about this topic already. Here are a couple of useful posts Smilie

https://www.unix.com/shell-programming-and-scripting/30228-shellscript-query-oracle-table-populate-text-file.html

https://www.unix.com/shell-programming-and-scripting/20508-how-return-array-elements-oracle-shell-script.html

https://www.unix.com/shell-programming-and-scripting/33933-connecting-oracle-shell-what-am-i-doing-wrong.html

and of course there is always google Smilie

Hope this helps!
ho! sorry.. if my answer was rude.. plz try to master shell scripts.. i saw few documents in this forum.. wow it was fentastic. why dont u get it.. All the best..
# 7  
Old 01-03-2007
Quote:
Originally Posted by ravi raj kumar
Hi unixers, Smilie
Anyone have any links or online tutorials for Shell Scripting with respect to Oracle .
Any example of script calling any Oracle procedure or function or passing parameters is highly appreciated.

cheers
RRK
I think that you want to call this via a language in the middle. This way it is more controllable. Please have a look at ways to call functions and stored procedures from a shell script via a small Perl program or C program.

A good reference is http://www.orafaq.com/faqperl.htm



Regards,
Johan Louwers. http://www.terminalcult.org
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Oracle/UNIX

How do you combine the two language. (1 Reply)
Discussion started by: zbest1966
1 Replies

2. Shell Programming and Scripting

unix-oracle

Hallo Friends, My script looks like this: #!/bin/ksh set -x ######################################################################### # # Name: # statistics.ksh # # Details: # Performs a series of queries on the database to analyse application performance; # reports on backlog of... (2 Replies)
Discussion started by: kekanap
2 Replies

3. UNIX for Advanced & Expert Users

oracle to unix

how can i safely transfer a oracle database to a unix system thanks (1 Reply)
Discussion started by: djbilly
1 Replies

4. Shell Programming and Scripting

Unix Oracle

Through a shell script ... I am invoking sql plus.. Code is as follows... echo " set feedback off verify off pagesize 0 select column from table " | sqlplus -s/@dbname | read var_col Now if oracle throws an exception for above select statement ...then how can i catch it ?... (15 Replies)
Discussion started by: dhananjaysk
15 Replies

5. Shell Programming and Scripting

Unix + Oracle

Hello people, at the moment, I have a database server running HP-UX and Oracle. From time to time, I need to extract data from oracle, and then do some data management (Awk, sed) within unix. At the moment, what I do is to copy the output from my oracle query and then paste into a file on another... (1 Reply)
Discussion started by: Khoomfire
1 Replies

6. HP-UX

Restore of oracle 8i from hp unix 11.0 to HP unix 11i

Hi, We are planning to migrate oracle 8.1.7.2 (8i) currently installed on a host with HP unix 11.0 to a host with HP Unix 11i. The method we are adopting is backup and restore of all file systems. Could this be a problem, apart from linking libraries on the target system. Thanks for the... (1 Reply)
Discussion started by: amitb
1 Replies

7. UNIX for Dummies Questions & Answers

Oracle to MySQL through Unix

Hello All, I'm a complete Unix newbie, and I have been asked to provide a solution for the following opportunity: Currently there is an Oracle database residing on a Unix box that I need to connect to on a regular basis from another Unix box. Upon connecting I need to hit multiple tables and... (6 Replies)
Discussion started by: Z24_2000
6 Replies

8. UNIX for Advanced & Expert Users

Oracle and Unix

Hi I am having trouble with a script to export individual schemas to tape from an oracle database. Basicaly I need to export each shema through a pipe with compression and store each shema name in a file with the relevant tape marker. (3 Replies)
Discussion started by: truma1
3 Replies

9. Programming

Oracle 9i on Unix

i am upgrading my Oracle 8i database to 9i that runs on Unix platform. Does this require me to make any changes in Unix so as to run the upgrade successfully? Regards, Gerald. (2 Replies)
Discussion started by: gerald_agoi
2 Replies
Login or Register to Ask a Question