| Author |
how to read a text file from a database table
|
parag Chatterjee
Greenhorn
Joined: Aug 02, 2002
Posts: 28
|
|
Can anybody help me out how to read a text file from a databse table using JDBC . I need to know 1. what will be the query to extract the file? 2. what will be the jdbc snippet of code 3.
|
 |
parag Chatterjee
Greenhorn
Joined: Aug 02, 2002
Posts: 28
|
|
|
I also need to know how to store the file in local disc
|
 |
Mahesh swami
Greenhorn
Joined: Aug 13, 2002
Posts: 26
|
|
|
U can use,rs.getObject() or rs.getBinaryStream() and then read from the stream.
|
 |
parag Chatterjee
Greenhorn
Joined: Aug 02, 2002
Posts: 28
|
|
Thanks a lot. I had already used it with rs.getAsciiStream()
|
 |
 |
|
|
subject: how to read a text file from a database table
|
|
|