In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Reprinted from Xiaoxiang Hermit:
GOhttps://www.cnblogs.com/kerrycode/archive/2015/10/30/4924412.html
Today encountered a case: right-click database properties when the following error prompt:
The attribute Owner is not available for database xxx, the object may not have this attribute, or it may not have sufficient access rights to retrieve it.
When using the script to view the Owner for this database, the Owner is null. The specific reason is because the Owner of the database is an account of a system administrator. Since the colleague left the company, the system administrator who took over cleared the account, so the above error occurred. At this point with the following script query, you will find that the Owner is null value.
SELECT d.name ,
owner_sid ,
l.name
FROM sys.databases d
LEFT JOIN sys.syslogins l ON l.sid = d.owner_sid
WHERE d.name='DataBaseName';
Just change the database Owner to sa or another sysadmin account.
USE DataBaseName;
GO
EXEC sp_changedbowner 'sa';
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.