Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
SQL in shell script
Name: Nirmala Date: October 20, 2003 at 01:34:11 Pacific OS: Unix CPU/Ram: P4
Comment:
Hi i have written a shell script which runs some sql queries in oracle. the code looks like this
This works fine if i run from the prompt but when i run from a cron,then cron is not able to find sqlplus.i also tried giving the absolute path for sqlplus ,still no success.
Summary: In shell script I am inserting the record in to the table.After excuation the script output is commit complete which is fine but I need my echo should be display like "Account created" #!/bin/ksh . . ...
Summary: Richard: I'm not an Oracle guy, but check out "Using SQL in Shell Scripts" by Gleed and Tarvainen: http://www.samag.com/documents/s=1434/sam9505f/9505f.htm Regards, Nails ...
Summary: Hi, I'm trying to run loops in shell scripts using the following script. loop=1 while [ loop -lt 10 ] do echo 'this is my $loop text-line' loop='expr $loop + 1' done ---- but I'm getting error: test: ...