• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1371
  • Last Modified:

Display or show sql statement creater view in Oracle 10g

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
0
interbus
Asked:
interbus
1 Solution
 
Shaju KumbalathDeputy General Manager - ITCommented:
SELECT dbms_metadata.get_ddl('VIEW', 'VIEW_NAME')
FROM dual;
 
REPLACE THE VIEW_NAME WITH ACTUAL


0
 
interbusAuthor Commented:
Hello

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 ?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
>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?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now