all groups > sql server connect > june 2006 >
You're in the

sql server connect

group:

Problem to delete a user


Problem to delete a user Pedro
6/26/2006 8:51:02 AM
sql server connect: Hi,

I have a problem to delete a user and it gives me this message in SQL2K5:

The database principal owns a schema in the database, and cannot be dropped.
(.Net SqlClient Data Provider)

Can any body help me. I will be grateful

This databade came from a SQL2K and I can connect from any client
application to SQL2K5.

--
Thanks ,

Re: Problem to delete a user Jens
6/26/2006 11:17:26 AM
Hi,

like the messsage says, the principal (user) owns some objects in the
database. You either transfer the ownership of the schema to another
user or drop the existing objects under the schema and drop the schema
first. After that you can drop the user.

HTH, Jens SUessmeyer.

---
http://www.sqlserver2005.de
---
AddThis Social Bookmark Button