What does dbo in SqlServer mean?

Source: Internet
Author: User
What does dbo in SqlServer mean? DBO is the default user of each database and has the owner permission. That is, DbOwner defines objects by using DBO as the owner, so that any user in the database can reference the objects without providing the owner name. For example, you log in with User1 and create a Table without specifying DBO. When User2 logs in, you want to access

What does dbo in SqlServer mean? DBO is the default user of each database and has the owner permission. That is, DbOwner defines objects by using DBO as the owner, so that any user in the database can reference the objects without providing the owner name. For example, you log in with User1 and create a Table without specifying DBO. When User2 logs in, you want to access

What does dbo in SqlServer mean?

DBO is the default user of each database and has the owner permission, that is, DbOwner.

By using DBO as the owner to define the object, any user in the database can reference it without providing the owner name.

For example, if you log on to User1 and create a Table without specifying DBO,

When User2 is logged in and wants to access the Table, you must know that this Table was created by user1. write it into User1.Table. If you do not know it, there will be access problems.

If you direct the owner to Dbo when creating a Table, you can write Dbo. Table when other users come in. You don't have to know user1.

This is not only the case for tables, but also for views and other database objects.

When you create database objects such as tables, stored procedures, and views, the owner of these objects is the user who creates them. It is very troublesome to add a prefix when other login users need to reference these items. In addition, the program is prone to errors. You can check whether the problem exists. This is a waste of time.

Source Document

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.