UniDAC

TUniStoredProc.PrepareSQL Method

Describes the stored procedure parameters.

Class

TUniStoredProc

Syntax

procedure PrepareSQL(IsQuery: boolean = False);

Parameters
IsQuery
If True, the SELECT statement is generated.

Remarks

Call the PrepareSQL method to describe parameters of stored procedure. The Execute method calls it automatically if it is necessary. You can define parameters at design time if ParameterEditor is open. Set the IsQuery parameter to True to prepare SELECT statement. Set it to False or omit it to prepare EXECUTE PROCEDURE statement. This parameter has sense only for InterBase server.

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback