Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Drops a user.
DROP USER user-name
The name of the user you are dropping.
Dropping a user also deletes all database objects (such as tables or procedures) that they own, as well as any external logins
for the user. The user being removed cannot be connected to the database when the statement is executed.
The following example drops the user SQLTester from a database.
DROP USER SQLTester;