i have a table and it has constraints and i want to get
"ALTER TABLE table_name
ADD CONSTRAINT constraint_name constraint type" this code
must be in string type
please help me
if you want, i can give more explainings
Answer Posted / ron
looks like you need to generate create / alter statements
from database data dictionary.
you need to run oracle package:
exec dbms_metadata.get_ddl(.....);
following the link for examples:
http://blogs.ittoolbox.com/database/solutions/archives/ddl-generationoracles-answer-to-save-you-time-and-money-7590
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is oracle used?
How is it different from a normal table?
What is an Oracle index?
What is Reduced List of Values?
What is flashback in Oracle?
What is a database schema in oracle?
Name the various constraints used in oracle?
How to revoke create session privilege from a user in oracle?
Calculate difference between 2 date / times in oracle sql?
How can I see all tables in oracle?
What are group functions in oracle?
How to create an oracle database manually?
How to retrieve values from data fields in record variables?
What is the database name in oracle?
What is data block in Oracle?