DROP USER SQL - Language Statements DROP USER Removes an user account information 1998-04-15 DROP USER username 1998-04-15 Inputs username The name of an existing user. 1998-04-15 Outputs DROP The message returned if the user is successfully deleted. ERROR: removeUser: user "username" does not exist. This message occurs if the username is not found. 1998-04-15 Description The DROP USER statement removes the named user from the database, along with any databases owned by the user. It does not remove tables, views, or triggers owned by the named user in databases not owned by the user. This statement can be used in the place of the destroyuser script, regardless of how the user was created. 1998-04-15 Notes The DROP USER statement is a PostgreSQL language extension. Refer to the CREATE USER and ALTER USER statements for information on how to create or modify user accounts. Usage To drop a user account: DROP USER Jonathan; Compatibility 1998-04-15 SQL92 There is no DROP USER statement in SQL92.