Export (0) Print
Expand All
Expand Minimize

LIST PROCEDURES Command

Visual Studio .NET 2003

Continuously displays the names of stored procedures in the current database.

LIST PROCEDURES   [TO PRINTER [PROMPT] | TO FILE FileName]   [NOCONSOLE]

Parameters

TO PRINTER [PROMPT]
Directs the information returned from LIST PROCEDURES to a printer.

You can include PROMPT to display a Print dialog box before printing starts. Place the PROMPT keyword immediately after TO PRINTER.

TO FILE FileName
Directs output from LIST PROCEDURES to the disk file specified with FileName. If the file already exists and SET SAFETY is ON, Visual FoxPro displays a prompt asking if you want to overwrite the file.
NOCONSOLE
Suppresses output to the main Visual FoxPro window or to the active user-defined window.

Remarks

Stored procedures are created with MODIFY PROCEDURES.

Example

The following example opens the testdata database and uses LIST PROCEDURES to list the stored procedures (if any) in the database.

CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'data\testdata')

CLEAR
LIST PROCEDURES  && Lists stored procedures in the database

See Also

APPEND PROCEDURES | COPY PROCEDURES | CREATE DATABASE | DISPLAY DATABASE | DISPLAY PROCEDURES | MODIFY PROCEDURE

Show:
© 2014 Microsoft