MyDAC

TCustomMyStoredProc.PrepareSQL Method

Builds a query for TCustomMyStoredProc based on the Params and StoredProcName properties, and assigns it to the SQL property.

Class

TCustomMyStoredProc

Syntax

procedure PrepareSQL;

Remarks

Call the PrepareSQL method to build a query for TCustomMyStoredProc based on the Params and StoredProcName properties, and assign it to the SQL property. Then the generated query is verified to be valid and, if necessary, the list of parameters is modified.

PrepareSQL is called implicitly when TCustomMyStoredProc is executed.

See Also

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