Sponsored Content
Top Forums Shell Programming and Scripting Shell script with Oracle PL/SQL Post 302855825 by Scott on Saturday 21st of September 2013 03:29:35 AM
Old 09-21-2013
Quote:
Originally Posted by GaneshAnanth
I want to learn shell scripting..... The shell script which can be able to use with oracle pl/sql...

So please suggest me which shell is good.
It doesn't matter what shell you use. PL/SQL runs inside SQL*Plus, which is a separate program and has nothing to do with the shell.

Quote:
Originally Posted by GaneshAnanth
Which Unix/Linux version is good for this to Install to get practice the script.
[Is puppy Linux suite for this - give me a clear idea].
If you mean for the purposes of practicing with the shell, any mainstream distribution will do. I have no idea what "Puppy Linux" is. For PL/SQL go to the Oracle website to see which Linux distributions they support, then go to the download site for that distribution and fetch a copy. For the purposes of learning shell, or PL/SQL, it doesn't matter which one you chose.

Quote:
Originally Posted by GaneshAnanth
Even after Installation of the Unix/Linux OS, do I need to install the shell separately.
No. Bash is the default shell in Linux. It's a powerful shell, and you don't need to install it. If, for some reason, you'd prefer to use another shell, then you might have to install it. Whatever you do do not start off using the C-Shell.

Quote:
Originally Posted by GaneshAnanth
Please guide me and suggest me the study materials of shell scripting.
There are plenty of resources both here (if you have specific difficulties) or on the internet (for general research).

Quote:
Originally Posted by GaneshAnanth
Also send me the study guides to my mailaddress
<email address removed>
Please, as per the rules you agreed to when you registered, do not post your email address seeking personal responses.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to pass values from oracle sql plus to unix shell script

how to pass values from oracle sql plus to unix shell script (2 Replies)
Discussion started by: trichyselva
2 Replies

2. Shell Programming and Scripting

Shell script for accessing a file in the network drive and invoking oracle sql loader

Hi, Please let me know if anybody is having a solution handy for the below tasks... It would be helpful if somebody can resolve my query. I am new to unix and oracle environment and looking for some online reference for completing a task. Task: Check if the network drive exists Check... (0 Replies)
Discussion started by: sayydevara
0 Replies

3. Shell Programming and Scripting

Logging into oracle or SQL from shell script

Hi, I have a shell script where I log on to sqlplus like this log() { sqlplus -s scott/tiger <<! select count(*) from EMP; ! } log Here I have hardcoded/used the username : scott and password : tiger directly to log on to SQLPLUS. If i have my log in information in my profile file... (2 Replies)
Discussion started by: manirsendhil
2 Replies

4. Shell Programming and Scripting

Calling SQL LDR and SQL plus scripts in a shell script

Hi- I am trying to achieve the following in a script so I can schedule it on a cron job. I am fairly new to the unix environment... I have written a shell script that reads a flat file and loads the data into an Oracle table (Table1) via SQLLDR. This Works fine. Then, I run a nested insert... (5 Replies)
Discussion started by: rajagavini
5 Replies

5. Shell Programming and Scripting

How to capture value in shell variable from oracle sql?

Hi Friends, Do someone know how to capture value in a shell variable from oracle sql? Requirement : In a table we want to count the number of records and want to pass this value to a shell variable where it can be manipulated later. In ksh shell we open oracle connection from sqlplus. For... (1 Reply)
Discussion started by: sourabhsharma
1 Replies

6. Shell Programming and Scripting

Running Oracle SQL from shell script

Hi, can anyone help me with this script please. I need the oracle command to go into the unix batch file. #!/bin/sh # A menu driven Shell script which has following options # for acmtoron@> # # # Exit # As per option do the job #---- while : do clear echo " A C M LOG MONITORING... (0 Replies)
Discussion started by: tinaaguilera
0 Replies

7. Shell Programming and Scripting

How to run a SQL select query in Oracle database through shell script?

I need to run a SQL select query in Oracle database and have to capture the list of retrieved records in shell script. Also i would like to modify the query for certain condition and need to fetch it again. How can i do this? Is there a way to have a persistent connection to oracle database... (9 Replies)
Discussion started by: vel4ever
9 Replies

8. Programming

pass value from Oracle sql to Korn shell

Hi All , I am trying to pass a value from sqlplus to korn shell . There is a table tab1 in Oracle that has a column userdate. I need to pass the userdate to the korn shell . This is what I am doing . VALUE=`sqlplus -silent username/password << END set pagesize 0 feedback off verify off... (14 Replies)
Discussion started by: megha2525
14 Replies

9. UNIX for Advanced & Expert Users

Use of Oracle pl/sql in UNIX shell script

Hi, I have basic knowledge on how to write pl/sql code inside shell script. I am looking for more advance thing. Is there any book for that which can just talk about how to write more advance plsql code inside shell script. Please help Thanks!!!!!! (1 Reply)
Discussion started by: diehard
1 Replies

10. Shell Programming and Scripting

How to pass Oracle sql script as argument to UNIX shell script?

Hi all, $ echo $SHELL /bin/bash Requirement - How to pass oracle sql script as argument to unix shell script? $ ./output.sh users.sql Below are the shell scripts and the oracle sql file in the same folder. Shell Script $ cat output.sh #!/bin/bash .... (7 Replies)
Discussion started by: a1_win
7 Replies
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy