DBA_SOURCE v10

The DBA_SOURCE view provides the source code listing of all objects in the database.

NameTypeDescription
ownerTEXTUser name of the program’s owner.
schema_nameTEXTName of the schema in which the program belongs.
nameTEXTName of the program.
typeTEXTType of program – possible values are: FUNCTION, PACKAGE, PACKAGE BODY, PROCEDURE, and TRIGGER
lineINTEGERSource code line number relative to a given program.
textTEXTLine of source code text.