Tuesday, June 11, 2013

How to create relational data model with Oracle SQL Developer Data Modeler


This tutorial shows how to create a relational data model by creating tables, adding columns to tables, defining relationships between tables, etc. 

Pre-requisite
1. JRE is installed.
2. Oracle SQL Developer Data Modeler is installed.

1. Create table.
    Make sure you are in relational tab > click table() icon > move the pointer to the white empty space.
data modeler relational tab

2. Enter table name in the General node
general table properties

3. Click the Columns node to add column.
    a) Click on the  button to add 1 column.
    b) then enter the column name.
    c) Click on the Logical radio button.
    d) Choose data type in the Type dropdown.
    d) If this column is a Primary Key, then check the PK checkbox.
    e) If this column is mandatory, then check the Mandatory checkbox.
table properties - columns node

repeat 1 - 3 to add more tables. 

4. Click on the Foreign Keys node to add foreign key
    a) Click on the  button to add 1 Foreign Key.
    b) Select referenced table from the Referenced Table dropdown.
    c) Select referenced column from the Column field.
table properties - foreign keys node

repeat step 4 to add more Foreign Keys or Foreign Key for other tables.

5. Click on the Unique Constraints node to add unique constraint
    a) Click on the  button to add 1 Unique Constraint.
    b) Choose any column at the Columns panel.
    c) select any move action with the arrows.
table properties - unique constraints node

repeat step 5 to add more Unique Constraints or Unique Constraints for other tables.

6. Click OK.


Done!!

18 comments:

  1. There are lots of information about oracle have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get to the next level in oracle. Thanks for sharing this.


    Oracle Training Institutes in Chennai
    Oracle Training Chennai

    ReplyDelete
  2. It likewise helps gives you a comprehension of the utilization of the particular toolbox. ExcelR Data Science Courses

    ReplyDelete
  3. Flutter Programming is one of the most popular in the cross platforms industry. Offshore Flutter Development Service We build excellent flutter mobile app and also learn how to overcome performance issues. is the best choice for all startups to discuss and get their project quotation. We also enable many startups to do Proof of concept and help them to learn about business decisions.

    ReplyDelete
  4. Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written. off plan slough

    ReplyDelete
  5. It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. best places to invest in property

    ReplyDelete
  6. Python is an open source programming language, which is widely used in a number of application domains. unindent does not match any outer indentation level python

    ReplyDelete
  7. Thankyou for this wondrous post, I am happy I watched this site on yippee. ExcelR Data Analytics Course

    ReplyDelete
  8. I see some amazingly important and kept up to length of your strength searching for in your on the site
    data scientist certification

    ReplyDelete
  9. Hi,

    How to add Foreign key using transformation script option?

    Regards,
    Neetesh

    ReplyDelete
  10. Clients choose status brands for incentive programs because the perceived value is high and encourages positive action. It is the garment, more than the logo, which is attracting attention.giejo swim

    ReplyDelete
  11. I really enjoyed this blog. It's an informative topic. It helps me very much to solve some problems. Its opportunities are so fantastic and the working style so speedy.
    data scientist training and placement in hyderabad

    ReplyDelete
  12. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. Jen Selter Instagram

    ReplyDelete
  13. Amazingly by and large very interesting post. I was looking for such an information and thoroughly enjoyed examining this one. Keep posting. An obligation of appreciation is all together for sharing.data science training in kolhapur

    ReplyDelete
  14. Really an awesome blog and informative content. Keep posting more blogs with us. Thank you.
    Data Science Course Certification in Hyderabad

    ReplyDelete
  15. I want you to thank for your time of this wonderful read!!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog!
    data analytics courses in hyderabad

    ReplyDelete
  16. Nice! This blog is really informative, Thank you for sharing these tips with us! best full-stack training in Delhi

    ReplyDelete

LinkWithin

Related Posts Plugin for WordPress, Blogger...