Search Results

Search: Posts Made By: anooptech
9,327
Posted By anooptech
Executing SQLPLUS in UNIX Script from JAVA
Hi ALL,

I would like to execute one SQL query(ORACLE) in UNIX shell script. For this I used sqlplus in script and tested locally. It worked fine. But my requiremnt is to execute the script from...
46,445
Posted By anooptech
Use the below code : $ cat merge.sh for...
Use the below code :

$ cat merge.sh

for file in $@
do
cat $file>>merge.txt
done

Run the script merge.sh as below:
$merge.sh *

This will merge all the files in the directory to one...
Showing results 1 to 2 of 2

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