Database Design Simple question

  • sizal0234


    Points: 2080

    Hi All,

    I am learning and please do not mind basic questions. One of the things which hit me now is the database design.

    Why do we need a database model ( physical or logical) to create a efficient database?

    Is it not possible to have the same using the ssms? We can easily create a new db from ssms.

    Please share your thoughts... links to any good articles.

  • Jeff Moden

    SSC Guru

    Points: 996120

    Google has your answers...


    --Jeff Moden

    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • ed.elliott

    SSC Rookie

    Points: 40

    Hi sizal 🙂

    The logical / physical design is about how you take the data you need to store and create a set of logical entities (customer, order), once you know that you can create a physical design with a list of tables (customer, customer_type, customer_address, order, order_item).

    You can create your logical and physical design on a piece of paper with a pencil.

    Once you have done that you can use any tool you like to create the actual database - SSMS has some ui's to do it or you can write T-SQL to do it.

    I haven't used any in a long time but there used to be modelling tools that will let you create a logical and physical model and that would create the T-SQL to create the actual database.


    I hope this helps (I know it was a while ago) 🙂


    Ed Elliott

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply