Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Oracle/OAS
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Oracle/OAS
How to read a text file from the system and load the data in to a table in oracle
Nagendra Batchu
Ranch Hand
Posts: 32
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi Friends,
I have to write a stored procedure to read a text file from c:/fileData directory and insert each row as a record in the oracle table.
Please help me in solving this problem.
Thanks in Advance
Fatih Keles
Ranch Hand
Posts: 182
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can use utl_file package for file operations.
Regards,
Fatih.
Nagendra Batchu
Ranch Hand
Posts: 32
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for your reply,
To my knowledge we can read the file using UTL_FILE package from the server, But my requirement is to read the file from local system.
Please suggest some sample code for Reading the file .
Thanks in Advance
Fatih Keles
Ranch Hand
Posts: 182
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can not read a file with pl/sql procedure which is on clients' local file system. You have to upload it to server.
Regards,
Fatih.
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
how to read the .csv file
I/O Urgent
how to read a text file from a database table
comparing csv file values with database attributes.
hex to String Help!!!!!!!!!!!!!!!!!!!!
More...