uploading the file in database table [message #293864] |
Tue, 15 January 2008 06:15 |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
Hello,
User will select the file in CSV format through oracle form and this file should be sent to server and read the file and load the data into table.
Howcan we do this? user dont want to use FTP utilities.
Can we use BLOB datatypes for this?
HOW??
|
|
|
|
|
Re: uploading the file in database table [message #294056 is a reply to message #293864] |
Wed, 16 January 2008 05:02 |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
correct. UTL_FILE could be an option.
But for that you need to have file on server. But in my case file is on client and we will have to transfer the file first and then the task is easy.
I was planning to use DBMS_LOB. i will upload the file in table in the form of BLOB. and will read the file.
How is this option?
Do you have any script which will read the BLOB using dbms_blob?
|
|
|
|
|
|
Re: uploading the file in database table [message #294213 is a reply to message #294209] |
Wed, 16 January 2008 18:42 |
sarans
Messages: 30 Registered: November 2006 Location: UK
|
Member |
|
|
djmartin - Its easy to make out from the link ----- search for the file upload within that page... maybe its useful for parag, if not for others...
Parag - if you search for file upload, there is a method using DAD you can upload files from the client machine to the db.... I have done similar to this, but using the forms javabean implementation, its pain and has limitations... if the link is useful fine else ignore it.....
|
|
|
Re: uploading the file in database table [message #294251 is a reply to message #293864] |
Wed, 16 January 2008 23:49 |
parag_narkhede
Messages: 110 Registered: January 2008 Location: Pune
|
Senior Member |
|
|
I think generally people use JAVA implementaion for this purpose. I have got a form which has already these features applied. I will definitly share that with you... Till then, again , thanks for your help. and keep helping...
|
|
|