Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
accept obj_name prompt "Enter the name of the procedure you wish to see: "
set linesize 200
set feedback on
col line heading "Line|Num" format 9999
col text heading "Source Code" format a100
select line,text from user_source
where name = upper('&obj_name')
and type = 'PROCEDURE'
order by line
/
@ShowProcs
Enter the name of the procedure you wish to see: showtime
Line
Num Source Code
----- -------------------------------------------------------------------
1 procedure showtime is
2 begin
3 dbms_output.put_line(to_char(sysdate,'yyyy-mm-dd hh24:mi:ss'));
4 end;
4 rows selected.