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.

Preface<br />

Preface–6<br />

In this example, you must specify table_name or view_name:<br />

Syntax<br />

DELETE FROM [ owner_name.]{table_name |view_name }<br />

[ WHERE search_condition ] ;<br />

In this example, you must include one expression (expr) or column position (posn), and<br />

optionally you can specify the sort order as ascending (ASC) or descending (DESC). You can<br />

specify additional expressions or column positions for sorting within a sorted result set. The<br />

<strong>SQL</strong> engine orders the rows on the basis of the first expr or posn. If the values are the same, the<br />

second expr or posn is used in the ordering:<br />

Syntax<br />

ORDER BY { expr | posn } [ ASC | DESC ]<br />

[ , [ { expr | posn } [ ASC | DESC ] ] ... ]<br />

Long syntax descriptions split across lines<br />

Some syntax descriptions are too long to fit on one line. When syntax descriptions are split<br />

across multiple lines, groups of optional and groups of required items are kept together in the<br />

required order.<br />

In this example, CREATE VIEW is followed by several optional items:<br />

Syntax<br />

CREATE VIEW [ owner_name.]view_name<br />

[ ( column_name [, column_name ] ... ) ]<br />

AS [ ( ] query_expression [ ) ] [ WITH CHECK OPTION ] ;<br />

Third party acknowledgements<br />

OpenEdge includes AdventNet - Agent Toolkit licensed from AdventNet, Inc.<br />

http://www.adventnet.com. All rights to such copyright material rest with AdventNet.<br />

OpenEdge includes ANTLR (Another Tool for Language Recognition) software Copyright ©<br />

2003-2006, Terence Parr All rights reserved. Neither the name of the author nor the names of<br />

its contributors may be used to endorse or promote products derived from this software without<br />

specific prior written permission. Software distributed on an “AS IS” basis, WITHOUT<br />

WARRANTY OF ANY KIND, either express or implied. See the License for the specific<br />

language governing rights and limitations under the License agreement that accompanies the<br />

product.<br />

OpenEdge includes software developed by the Apache Software Foundation<br />

(http://www.apache.org/). Copyright © 1999 The Apache Software Foundation. All rights<br />

reserved (Xerces C++ Parser (XML) and Xerces2 Java Parser (XML)); Copyright © 1999-2002

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

Saved successfully!

Ooh no, something went wrong!