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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DROP PROCEDURE<br />

DROP PROCEDURE<br />

Syntax<br />

32<br />

Deletes a stored procedure.<br />

owner_name<br />

Specifies the owner of the procedure.<br />

procedure_name<br />

Name of the stored procedure to delete.<br />

Example The following example illustrates the DROP PROCEDURE statement:<br />

Authorization<br />

DROP SEQUENCE<br />

Syntax<br />

DROP PROCEDURE [ owner_name.]procedure_name ;<br />

DROP PROCEDURE new_sal ;<br />

Must have DBA privilege or owner of a stored procedure.<br />

Related statement<br />

CALL, CREATE PROCEDURE<br />

The DROP SEQUENCE statement removes a sequence from a schema. The sequence can be in a<br />

user’s schema or another schema may be specified. You must have DBA privileges to remove a<br />

sequence in a schema other than your own.<br />

DROP SEQUENCE [ schema_name. ] sequence_name<br />

schema_name<br />

Specifies the schema name that contains the sequence. If this is not specified, OpenEdge<br />

<strong>SQL</strong> drops the sequence, if present, from the current schema.<br />

sequence_name<br />

Specifies the sequence to be dropped.<br />

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

DROP SEQUENCE pub.customer;

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

Saved successfully!

Ooh no, something went wrong!