Bde.DBTables.TSession.GetStoredProcNames

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TSession

Delphi

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

C++

void __fastcall GetStoredProcNames(const System::UnicodeString DatabaseName, System::Classes::TStrings* List);

Description

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.

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.

See Also