Display Procedures, List Procedures
These two commands tell you about stored procedures in a database.
Usage |
DISPLAY | LIST PROCEDURES [ TO PRINT [ PROMPT ] | TO [ FILE ] cFileName [ ADDITIVE ] ] [ NOCONSOLE ] |
When you DISPLAY or LIST PROCEDURES to a file, the indentation of the procedure names is strange. We can't see any rhyme or reason to it. Even stranger, the listing that appears in the file and the one you see on the screen if you don't include NOCONSOLE have different indentation. Bizarre. If you're planning to parse this file, make sure to use LTRIM() on the results so the indentation doesn't matter. |
Example |
OPEN DATABASE TasTrade LIST PROCEDURES TO FILE TTProcs.TXT |
See Also |