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

Give the various exception types.

997


How to update values on multiple rows in oracle?

1041


How to convert characters to numbers in oracle?

1067


Can we call procedure inside function in oracle?

1102


Explain the use of rows option in imp command.

1091


What is a Garbage Collection? and what is full recursive Garbage collection?

2910


can u send the sql dumps to sivakumarr1987@gmail.com plz help me

3055


Explain overloading. Can functions be overloaded?

1005


how the indexes are stored in the Oracle Database?

2277


How many anonymous blocks can be defined?

1193


What is the maximum limit on the number of columns in a table?

1089


Hi Can any one tell me what are the API's used in requisition import.

1927


you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz

1948


what is the dual table in oracle?

1003


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

1011