We help IT Professionals succeed at work.
Get Started

convert txt file to csv using PLSQL

Swadhin Ray
Swadhin Ray asked
on
1,788 Views
Last Modified: 2012-08-15
Hello Experts,


I have ZIP file which is been stored on a directory. And it has many text files on it. Where each file has to loaded to the specific table.

For example :
If the zip file name is "test.zip" , and it contains "emp.text", dept.text

Where emp has to be loaded to emp table and dept to dept table.

Is there any way to achieve the below goals:
1) unzip the file using PLSQL. And convert it to csv .
2) once converted to csv then it will be loaded to the tables
3) Then rename the zip file by adding timestamp and deleting the unziped folder.

Or

1) unzip the file using PLSQL.  
2) Load the text files to the tables
3) Then rename the zip file by adding timestamp and deleting the unziped folder.
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2012
Distinguished Expert 2020
Commented:
This problem has been solved!
Unlock 4 Answers and 10 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE