Edit C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\odbc\7.0.1\help\reference\sqlsupport.12.13.html
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <!-- MOTW-DISABLED saved from url=(0014)about:internet --> <title>Delete</title> <link rel="StyleSheet" href="css/sqlsupport.css" type="text/css" media="all" /> <link rel="StyleSheet" href="css/webworks.css" type="text/css" media="all" /> <script type="text/javascript" language="JavaScript1.2" src="wwhdata/common/context.js"></script> <script type="text/javascript" language="JavaScript1.2" src="wwhdata/common/towwhdir.js"></script> <script type="text/javascript" language="JavaScript1.2" src="wwhdata/common/wwhpagef.js"></script> <script type="text/javascript" language="JavaScript1.2"> <!-- var WebWorksRootPath = ""; // --> </script> <script type="text/javascript" language="JavaScript1.2"> <!-- // Set reference to top level help frame // var WWHFrame = WWHGetWWHFrame("", true); // --> </script> <script type="text/javascript" language="JavaScript1.2" src="scripts/expand.js"></script> </head> <body class="" style="background-color: #FFFFEE;" onload="WWHUpdate();" onunload="WWHUnload();" onkeydown="WWHHandleKeyDown((document.all||document.getElementById||document.layers)?event:null);" onkeypress="WWHHandleKeyPress((document.all||document.getElementById||document.layers)?event:null);" onkeyup="WWHHandleKeyUp((document.all||document.getElementById||document.layers)?event:null);"> <br /> <div class="WebWorks_Breadcrumbs" style="text-align: left;"> <a class="WebWorks_Breadcrumb_Link" href="sqlsupport.12.01.html#149211">10 SQL Statements and Extensions for the Salesforce Driver</a> : Delete</div> <hr align="left" /> <blockquote> <div class="head_1"><a name="149211">Delete</a></div> <div class="Body"><a name="89162">The Delete statement is used to delete rows from a table.</a></div> <div class="gutter_text_right"><a name="89170">Grammar</a></div> <div class="syntax_first"><a name="89163">DELETE FROM </a><span class="EquationVariables">table_name</span> [WHERE <span class="EquationVariables">search_condition</span>] </div> <div class="Body"><a name="108857">where:</a></div> <div class="Body"><span class="EquationVariables"><a name="124442">table_name</a></span> specifies the name of the table from which you want to delete rows. </div> <div class="Body"><span class="EquationVariables"><a name="124443">search_condition</a></span> is an expression that identifies which rows to delete from the table.</div> <div class="Body"><a name="89193">The Where clause determines which rows are to be deleted. Without a Where clause, all </a>rows of the table are deleted, but the table is left intact. See <span class="Cross_ref_"><a href="javascript:WWHClickedPopup('reference', 'sqlsupport.12.23.html#150264', '');">â??Where Clauseâ??</a></span> for information about the syntax of Where clauses. Where clauses can contain subqueries.</div> <div class="gutter_text_right"><a name="89141">Examples</a></div> <div class="hanging_label_head"><a name="96348">Example A</a></div> <div class="Body"><a name="203924">This example shows a Delete statement on the emp table.</a></div> <div class="syntax_first"><a name="96349">DELETE FROM emp WHERE emp_id = 'E10001'</a></div> <div class="Body"><a name="96350">Each Delete statement removes every record that meets the conditions in the Where </a>clause. In this case, every record having the employee ID <span class="Syntax">E10001</span> is deleted. Because employee IDs are unique in the employee table, at most, one record is deleted.</div> <div class="gutter_text_right"><a name="95084"> </a></div> <div class="hanging_label_head"><a name="155383">Example B</a></div> <div class="Body"><a name="203965">This example shows using a subquery in a Delete clause.</a></div> <div class="syntax_first"><a name="95089">DELETE FROM emp WHERE dept_id = (SELECT dept_id FROM dept WHERE dept_name = </a>'Marketing')</div> <div class="Body"><a name="177731">The records of all employees who belong to the department named Marketing are deleted.</a></div> <script type="text/javascript" language="JavaScript1.2"> <!-- // Clear related topics // WWHClearRelatedTopics(); document.writeln(WWHRelatedTopicsInlineHTML()); // --> </script> </blockquote> <script type="text/javascript" language="JavaScript1.2"> <!-- document.write(WWHRelatedTopicsDivTag() + WWHPopupDivTag() + WWHALinksDivTag()); // --> </script> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de