Home » SQL & PL/SQL » SQL & PL/SQL » Load data into a table via a stored proc.
Load data into a table via a stored proc. [message #38027] Thu, 14 March 2002 05:52 Go to next message
Dan
Messages: 61
Registered: February 2000
Member
With Oracle v7.3 is there a way to call a stored procedure that will invoke SQL*Loader and load data from a csv file into a table.
Re: Load data into a table via a stored proc. [message #38029 is a reply to message #38027] Thu, 14 March 2002 06:10 Go to previous messageGo to next message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
u can not call the SQL*Loader from stored procedure .
Re: Load data into a table via a stored proc. [message #38033 is a reply to message #38027] Thu, 14 March 2002 07:17 Go to previous messageGo to next message
pratap kumar tripathy
Messages: 660
Registered: January 2002
Senior Member
u can use utl_file package to read the csv file and load data
Re: Load data into a table via a stored proc. [message #38036 is a reply to message #38027] Thu, 14 March 2002 10:12 Go to previous message
Grant
Messages: 578
Registered: January 2002
Senior Member
Yes you can invoke sqlloader via external procedure calls. If you do a search on MetaLink for "external procedure sqlloader" you find some good examples.
Previous Topic: Datmodeling
Next Topic: Granting packages
Goto Forum:
  


Current Time: Thu Apr 25 09:03:04 CDT 2024