23.10.2012 Views

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

Openedge Data Management: SQL Reference - Product ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DROP USER<br />

Syntax<br />

Deletes the specified user.<br />

'username'<br />

Specifies the user name to delete. The username must be enclosed in quotes.<br />

Example In this example, an account with DBA privileges drops the username ‘Jasper’:<br />

DROP VIEW<br />

Syntax<br />

DROP USER 'username' ;<br />

DROP USER 'Jasper' ;<br />

Authorization<br />

Must have DBA privileges.<br />

Related statements<br />

BEGIN-END DECLARE SECTION, CREATE USER<br />

Deletes the view from the database.<br />

DROP VIEW [ owner_name.]view_name ;<br />

owner_name<br />

Specifies the owner of the view.<br />

view_name<br />

Names the view to drop.<br />

Example The following is an example of the DROP VIEW statement:<br />

DROP VIEW newcustomers ;<br />

DROP USER<br />

Notes • If owner_name is specified and is different from the name of the user executing the<br />

statement, then the user must have DBA privileges.<br />

• When a view is dropped, other views that are dependent on this view are not dropped. The<br />

dependent views become invalid.<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!