What is the importance of schema in sql server?

后端 未结 4 426
不思量自难忘°
不思量自难忘° 2021-02-03 23:05

What is the importance of schema in sql server?

Where this schema help me? Is it important for security reasons?

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-03 23:37

    Schema is mainly used to Manage several logical entities in one physical database.

    Schemas offer a convenient way to separate database users from database object owners. They give DBA’s the ability to protect sensitive objects in the database, and also to group logical entities together.

    This is especially advantageous in situations where those objects are often utilized as a unit by applications. For example, a hotel-management system may be broken down into the following logical entities or modules: Rooms, Bar/Restaurant, and Kitchen Supplies.

    These entities can be stored as three separate physical databases. Using schemas however, they can be combined as three logical entities in one physical database. This reduces the administrative complexity of managing three separate databases.

    Source

提交回复
热议问题