Builds a query for TCustomMyStoredProc based on the Params and StoredProcName properties, and assigns it to the SQL property.
procedure PrepareSQL;
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.