Builds a query for TCustomMSStoredProc based on the Params and StoredProcName properties, and assign it to the SQL property.
procedure PrepareSQL;
Call the PrepareSQL method to build a query for TCustomMSStoredProc based on the Params and StoredProcName properties, and assign it to the SQL property. Generated query is then verified to be valid and, if necessary, the list of parameters is modified.
PrepareSQL is called implicitly when TCustomMSStoredProc is executed.