FireDAC.Comp.Client.TFDCustomStoredProc.Overload

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Overload: Word read GetOverload write SetOverload default 0;

C++

__property System::Word Overload = {read=GetOverload, write=SetOverload, default=0};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client.pas
FireDAC.Comp.Client.hpp
FireDAC.Comp.Client TFDCustomStoredProc

Description

Specifies which Oracle overloaded packaged stored procedure to execute.

Use Overload to specify which overloaded stored procedure to execute on an Oracle server. An Oracle overloaded stored procedure is one that shares a name with one or more other stored procedures. Oracle distinguishes among overloaded stored procedures by assigning each procedure a unique numeric identifier. An application can specify this identifier using the Overload property. 

By default, Overload is zero, which assumes there is no procedure overloading. For all servers except Oracle, this value has no effect. If an application attempts to access an Oracle overloaded procedure without setting Overload, FireDAC accesses the lowest numbered or the first overloaded procedure on the server. 

If Overload is 1, FireDAC executes the first overloaded procedure on the server. If Overload is 2, it executes the second, and so on. 

Although Oracle overloaded procedures share names, their parameter lists are unique. An application must ensure that it passes the correct parameter list to an overloaded procedure.

See Also