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 system global area (sga) in oracle?

1031


What are the differences between date and timestamp in oracle?

1091


Why should I use oracle database?

1040


How to unlock the sample user account in oracle?

1074


Can I create users through internet explorer in oracle 10g?

1151


What is a trace file and how is it created in oracle?

1135


How to login to the server without an instance?

1207


How to delete a user account in oracle?

1018


How do I uninstall oracle 11g?

1172


How to bring a tablespace offline?

1111


How to write numeric literals in oracle?

1231


How to select an oracle system id (sid)?

1110


How to drop a stored function?

1180


interview questions with answer for cts

2632


In oracle there is column command, how will you explain that?

1130