Database Design Simple question

  • 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.

  • Google has your answers...

    https://www.google.com/search?q=logical+design+vs+physical+design+database

     

    --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.

    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)

  • 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

    https://the.agilesql.club

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

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