简体   繁体   中英

How can I resolve this error in Microsoft SQL Server Management Studio

I have created a database online clinic management system having 10 tables. Now I want to create a database diagram for this database but I'm getting the following error. Please share your knowledge to resolve this error.Thank you.

TITLE: Microsoft SQL Server Management Studio

Could not obtain information about Windows NT group/user 'HAIER-PC\\92347', error code 0x534. (Microsoft SQL Server, Error: 15404)

I have found the solution. Just go to databases. Select your database.Go to Properties. Open Files and modify owner to [sa].Its working .

just run this query :

USE yourdatabasename
GO
EXEC sp_changedbowner 'sa'

change yourdatabasename to database name you have!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM