TADOStoredProc encapsulates a stored procedure in an ADO database.
TADOStoredProc = class(TCustomADODataSet);
class TADOStoredProc : public TCustomADODataSet;
Use a TADOStoredProc object when a client application must use a stored procedure in a database. A stored procedure is a grouped set of statements, stored as part of a database's metadata (just like tables, indexes, and domains), that performs a frequently repeated, database-related task on the server and passes results to the client.
TADOStoredProc reuses the Parameters property to hold the results returned by a stored procedure. Parameters is a collection of TParameter objects, each representing an individual parameter for the stored procedure. Depending on server implementation, a stored procedure can return either a single set of values, or a result set similar to the result set returned by a query.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!