Home Man
Search
Today's Posts
Register

Post questions about C, C++, Java, SQL, and other programming languages here.

Oracle/UNIX

Tags
programming

Login to Reply

 
Thread Tools Search this Thread
# 1  
Old 01-01-2016
Question Oracle/UNIX

How do you combine the two language.
# 2  
Old 01-01-2016
Actually neither one is a computer language. I think you probably mean SQLPLUS (Oracle inquiry) and UNIX shell.

Simple example using a UNIX shell here document to call a sqlplus command
for a pretend user, passwd, and Oracle instance. You have to be able to execute the sqlplus command and have a valid oracle account before this will work:

Code:
sqlplus -s user/passwd@instance << -EOF
set head off

select field1 from mytable;
exit
EOF

Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Oracle on UNIX box iamgeethuj UNIX for Dummies Questions & Answers 4 11-20-2008 04:51 AM
unix-oracle kekanap Shell Programming and Scripting 2 02-11-2008 08:55 AM
From ASP.NET to Oracle on unix hoshakhs AIX 2 03-16-2007 04:15 AM
oracle to unix djbilly UNIX for Advanced & Expert Users 1 02-09-2007 02:21 AM
unix for oracle ravi raj kumar UNIX for Dummies Questions & Answers 6 01-03-2007 04:19 AM
Unix Oracle dhananjaysk Shell Programming and Scripting 15 04-24-2006 04:43 AM
Restore of oracle 8i from hp unix 11.0 to HP unix 11i amitb HP-UX 1 05-26-2005 09:44 AM
Oracle and Unix truma1 UNIX for Advanced & Expert Users 3 11-21-2001 05:08 PM
Oracle 9i on Unix gerald_agoi Programming 2 09-17-2001 06:12 PM


All times are GMT -4. The time now is 05:21 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password