Home » RDBMS Server » Server Utilities » Calling Stored procedure functions in SqlLoader
Calling Stored procedure functions in SqlLoader [message #69155] Fri, 09 November 2001 07:01 Go to next message
Raphi
Messages: 3
Registered: November 2001
Junior Member
I am loading data into a table from a flat file.
I need to change the way my control file works and add logic to it so that depending on the values of certain fields (positions) different positions may be inserted into the specified column.
Is this at all possible?
And am I allowed to call my own stored procedures from within the control file?
I.E.
decode(MyFunction(position[[1:4]],
'A', position[[1:4]],
position[[5:8]])


----------------------------------------------------------------------
Re: Calling Stored procedure functions in SqlLoader [message #69156 is a reply to message #69155] Fri, 09 November 2001 08:18 Go to previous messageGo to next message
Suresh Vemulapalli
Messages: 624
Registered: August 2000
Senior Member
yes, you can use stored functions(not stored procedures) in control file.

----------------------------------------------------------------------
Re: Calling Stored procedure functions in SqlLoader [message #70269 is a reply to message #69155] Thu, 16 May 2002 09:20 Go to previous message
Bob H
Messages: 4
Registered: May 2002
Junior Member
Just found this post. What about stored functions in the when clause. Is this possible I have not been able to get it to work. Thanks.
Previous Topic: Re: Select in a control file
Next Topic: Export Failure
Goto Forum:
  


Current Time: Mon Apr 29 08:27:31 CDT 2024