[Last Call] Learn how to a build a cloud-first strategyRegister Now


Display or show sql statement creater view in Oracle 10g

Posted on 2008-11-08
Medium Priority
Last Modified: 2013-12-19
I created a view with Sql statement but I want to see again this sql statement for that view from Sql Plus

Can any body help me ?

Give me a correct answer amf get 500 point from me
Question by:interbus
LVL 15

Accepted Solution

Shaju Kumbalath earned 1500 total points
ID: 22911877
SELECT dbms_metadata.get_ddl('VIEW', 'VIEW_NAME')
FROM dual;


Author Comment

ID: 22915136

Thank you for answer but there a problem

When I using dbms_metadata this is not display the full create statement only part, therefore how I can display the all create statement ?
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 22915589
>When I using dbms_metadata this is not display the full create statement only part
AFAIK, it does return the full create  statement. can you show us how you used it?

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question