I have a stored procedure in oracle 11g containing three parameters.
Can I fetch the value of these three parameters from an excel file or any other file, eg: text file etc.
If so, then how can I do it.
I have a stored procedure in oracle 11g containing three parameters.
Can I fetch the value of these three parameters from an excel file or any other file, eg: text file etc.
If so, then how can I do it.
You can create an sqlloader and load the values from the file into a temporary table. Then create a trigger, which fires on insert, calling the procedure with the inserted values.
Edit: Added info about sqlloader and triggers.
TL/DR. Create a control file, which contains the format of the input file, which basicly explains to the loader how to load the contents of the file into a given table. A tigger can call your procedure using the insert event.