What does the dbo in SQL Server mean?

Source: Internet
Author: User

Source: http://andylin02.iteye.com/blog/486296

What does the dbo in SQL Server mean?

DBO is the default user for each database, with owner permissions, that is, Dbowner

By defining an object with the dbo as the owner, you can make any user in the database reference without having to provide the owner name.

For example: You log in with User1 and build table, without specifying DBO,

When the user User2 log in to visit the table you need to know that this table is your User1 established, to write user1.table, if he did not know that you built, then the visit will be problematic.

If you give the owner the dbo when you build the table, the other user comes in and writes the dbo.table, without knowing User1.

This is not only true for tables, but also for database objects such as views and so on.

When you build a database object such as a table, stored procedure, view, and so on, its owner is the user who created it. In addition to the user other login users to reference these things, you have to add a prefix, it is troublesome. Moreover, the program is so error-prone, you check to find out the problem is here, wasting your time.

What does the dbo in SQL Server mean?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.