Home » SQL & PL/SQL » SQL & PL/SQL » How can I see the SQL used to create a View?
How can I see the SQL used to create a View? [message #19604] Mon, 01 April 2002 06:45 Go to next message
servando
Messages: 2
Registered: April 2002
Junior Member
How can I see the SQL code used to create a View?
Re: How can I see the SQL used to create a View? [message #19605 is a reply to message #19604] Mon, 01 April 2002 07:05 Go to previous message
Cindy
Messages: 88
Registered: November 1999
Member
select view_name, text from all_views where view_name = 'VIEW_NAME';

Also, you can also use dba_views and user_views tables.
Previous Topic: sql command
Next Topic: ABOUT PROCEDURE
Goto Forum:
  


Current Time: Fri Apr 19 09:02:43 CDT 2024