RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSession.GetStoredProcNames Method

Populates a string list with the names of all stored procedures associated with a specified database component that is connected to an SQL database server.

Pascal
procedure GetStoredProcNames(const DatabaseName: string; List: TStrings);
C++
__fastcall GetStoredProcNames(const AnsiString DatabaseName, TStrings List);

Call GetStoredProcNames to retrieve a list of all stored procedures for a database component that is attached to an SQL database server. DatabaseName specifies the name of the database for which to retrieve stored procedure names. List is a string list object, created and maintained by the application, into which to return the stored procedure names.

Note: GetStoredProcNames raises an exception if called on Paradox or dBASE databases.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!