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

List the types of joins used in writing subqueries?

985


what is the scenario where you take the database to NoArchivelog mode?

2314


How to drop a stored procedure in oracle?

1045


How to define an oracle cursor variable?

1018


Whether any commands are used for months calculation? If so, what are they?

1089


What is procedure overloading in oracle?

1043


How to get maxsal , minsal, ename department wise in single query

1543


What is query image?

977


How to recover a dropped table in oracle?

1026


Is there a combination of "like" and "in" in sql?

1049


Why does for update in oracle 8 cause an ora-01002 error?

991


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

2344


What is oracle host variable?

1044


Please explain me all types of Data models. Also give me the details if each model can have other name.for example:schematic data model is also known as conceptual data model and entity relation data model.

2303


Please explain drop constraint oracle?

1086