The Database principal owns a schema in the database
The Database principal owns a schema in the databaseDrop failed for User 'test_hz' (Microsoft.SqlServer.Smo)
The Database principal owns a schema in the database, and cannot be dropped.
(Microsoft SQL Server,Error:15138)

解决:请先删除Schemas下对应的用户名,再删除用户。
扫一扫加作者微信