Search Results

Search: Posts Made By: hali
2,144
Posted By hali
sqlplus will run the script file using @filename...
sqlplus will run the script file using @filename not just the filename.

See:
#!/bin/sh

A=`sqlplus -s /nolog @test.sql`

echo $A

test.sql should contain something like.
connect...
44,492
Posted By hali
Example how to insert stuff in Oracle from a...
Example how to insert stuff in Oracle from a simple shell-script:
#!/bin/bash
ORACLE_SID="my_sid"
# Other oracle stuff if you need them, $ORACLE_HOME, $PATH etc
MYVAR="apple"

sqlplus -s...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy