What is the importance of schema in sql server?

后端 未结 4 428
不思量自难忘°
不思量自难忘° 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条回答
  •  梦毁少年i
    2021-02-03 23:19

    They partition your database to make management easier. This is from MSDN:

    A schema is now a distinct namespace that exists independently of the database user who created it. In other words, a schema is simply a container of objects. A schema can be owned by any user, and its ownership is transferable.

    Here's the page that came from: http://msdn.microsoft.com/en-us/library/ms190387.aspx

    In relation to security it makes it simpler to assign permissions as you can grant someone access to a schema without exposing your entire database to them.

提交回复
热议问题