Programming

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

Oracle/UNIX

👤 Login to reply

    #1  
Old 01-01-2016
zbest1966 zbest1966 is offline
Registered User
 
Question Oracle/UNIX

How do you combine the two language.
Sponsored Links
    #2  
Old 01-01-2016
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
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

Sponsored Links
👤 Login to reply

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 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
Restore of oracle 8i from hp unix 11.0 to HP unix 11i amitb HP-UX 1 05-26-2005 09:44 AM
Oracle 9i on Unix gerald_agoi Programming 2 09-17-2001 06:12 PM



All times are GMT -4. The time now is 01:45 PM.

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





Not a Forum Member?
Forgot Password?