shell scripts to read data from a text file and to load it into a table [message #356317] |
Thu, 30 October 2008 05:15 |
pallavishetty
Messages: 3 Registered: October 2008
|
Junior Member |
|
|
Hi All,
I have a text file consisting of rows and columns as follows,
GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001
GEF001 000093625 MKL005675 000001 000000 000000 000000 000000 000000 000001
My requirement is that, i should read the first 3 columns of this file using a shell script and then i have to insert the data into a table consisting of 3 rows in oracle
|
|
|
|
|
|
|
Re: shell scripts to read data from a text file and to load it into a table [message #356333 is a reply to message #356332] |
Thu, 30 October 2008 06:39 |
pallavishetty
Messages: 3 Registered: October 2008
|
Junior Member |
|
|
the whole application is deployed in unix and that text file comes from mainframe. am working in the unix side of the application and i cant access the data directly from the mainframe. so am required to write a script which reads the data from text file which is placed in certain location and i have to load it to oracle database.
Please help me something with this...
Thanks in advance.
|
|
|
|
|
|