Icon GetStoredProcNames Method

procedure GetStoredProcNames(const DatabaseName: String; List:
      TStrings)

Usage

Call the GetStoredProcNames method to populate a string list with the names of all stored procedures and functions found in the TEDBDatabase component specified by the DatabaseName parameter. List is a string list object, created and maintained by the application, into which to store the stored procedure and function names.

Information The DatabaseName parameter can refer to either the DatabaseName property of a TEDBDatabase component or the name of an actual database. If the DatabaseName parameter matches the DatabaseName property of an existing TEDBDatabase component, then the stored procedure names returned will be from that TEDBDatabase component. Otherwise, the DatabaseName parameter will be treated as an actual database name and the stored procedure names will be retrieved from the appropriate database.
Image