Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is SQL access advisor in Oracle?

1188


Is primary key indexed by default in oracle?

987


How to define default values for formal parameters?

1044


How to get the Installed Oracle Version Information ?

1123


List the various oracle database objects?

1057


what is IDE,DMV in sql server?

2818


Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).

2324


What is the scope of a local variable?

1067


How do I recompile a procedure in oracle?

964


What is the maximum number of triggers that can be applied to a single table?

1021


What language does oracle use?

1098


What is tns name?

981


How to rename a column in an existing table?

1035


What are the tools for Oracle ?

1062


What are the components of logical database structure in oracle database?

1087