![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sunsolaris shell script runs only as super user | gjithin | SUN Solaris | 4 | 05-09-2008 05:47 AM |
| passing values from sql to shell script | sachin.gangadha | Shell Programming and Scripting | 3 | 04-22-2008 08:11 PM |
| Values of value($$X) in unix shell script | ganesh_111 | Shell Programming and Scripting | 5 | 09-22-2006 03:25 AM |
| Passing Values from a shell script | dhananjaysk | Shell Programming and Scripting | 6 | 04-06-2006 06:33 AM |
| Returning Values (shell Script) | jennifer01 | Shell Programming and Scripting | 3 | 11-29-2001 02:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Shell Script: want to insert values in database when update script runs
Hi ,
I am new to linux and also also to shell scripting. I have one shell script which unpacks .tgz file and install software on machine. When this script runs I want to insert id,filename,description(which will be in readme file),log(which will be in log file) and name of unpacked folder like: tmp/MyFile into "MyTable"(database). I don't have any idea about how to read data from file and insert that data into database table. This is for description and log field. Datatype of these fields is CLOB. Even I want to find max(id) from exiting table data, so that I can insert mew entry as maxid+1. I am facing problems while writing this script. Could anybody help me with this? Thanks in advance Ring |
| Forum Sponsor | ||
|
|