Hello.
Can anyone tell me the best way to, in a procedure, load a text file to a table? I was looking at the UTL_FILE utility, and then I realized (finally, like after 2 hrs!) that this applied only to files that exist in the Oracle server. Then I was looking at the TEXT_IO utility, but only found one paragraph (actually, like two sentences) on how to use it. Is TEXT_IO the correct way to do it? I need it to be a procedure, so I can call it from VB, where the user can just click a button to load a file.
Any help you can provide will be very much appreciated.
Many thanks.
-Mike
Can anyone tell me the best way to, in a procedure, load a text file to a table? I was looking at the UTL_FILE utility, and then I realized (finally, like after 2 hrs!) that this applied only to files that exist in the Oracle server. Then I was looking at the TEXT_IO utility, but only found one paragraph (actually, like two sentences) on how to use it. Is TEXT_IO the correct way to do it? I need it to be a procedure, so I can call it from VB, where the user can just click a button to load a file.
Any help you can provide will be very much appreciated.
Many thanks.
-Mike