forked from docs/doc-exports
DWS TG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
This commit is contained in:
29
docs/dws/tool/DWS_DS_030.html
Normal file
29
docs/dws/tool/DWS_DS_030.html
Normal file
@ -0,0 +1,29 @@
|
||||
<a name="EN-US_TOPIC_0000001813439004"></a><a name="EN-US_TOPIC_0000001813439004"></a>
|
||||
|
||||
<h1 class="topictitle1">Terminating an Ongoing SQL Query</h1>
|
||||
<div id="body1584526252529"><p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p9315740">You can terminate an ongoing SQL query on the <strong id="EN-US_TOPIC_0000001813439004__b92988124553">SQL Terminal</strong> tab page of Data Studio.</p>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p16732802">To terminate an ongoing SQL query, perform the following steps:</p>
|
||||
<ol id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_ol5451022114445"><li id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_li2082994214445"><span>Execute a SQL query on the <strong id="EN-US_TOPIC_0000001813439004__b165803375616">SQL Terminal</strong> tab page.</span></li><li id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_li2302354214454"><span>Click <span><img id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_image443093191450" src="figure/en-us_image_0000001860199265.jpg" width="23.94" height="23.94" title="Click to enlarge" class="imgResize"></span> or press <strong id="EN-US_TOPIC_0000001813439004__b85965688045019">Shift</strong>+<strong id="EN-US_TOPIC_0000001813439004__b192737696745019">Esc</strong>.</span><p><p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p2849279914524">You can also choose <strong id="EN-US_TOPIC_0000001813439004__b1817072585613">Run</strong> > <strong id="EN-US_TOPIC_0000001813439004__b0170625175611">Cancel</strong>, or right-click in the code area and choose <strong id="EN-US_TOPIC_0000001813439004__b917114258562">Cancel</strong>, or click <strong id="EN-US_TOPIC_0000001813439004__b417122510560">Cancel</strong> on the <strong id="EN-US_TOPIC_0000001813439004__b1417192535616">Progress View</strong> tab page.</p>
|
||||
</p></li></ol>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p21666058164121">After you terminate an ongoing query, the SQL statement being executed is stopped.</p>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p11449343">Database changes made by the canceled query are rolled back and the following queries will not be executed.</p>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p35935224">A query cannot be canceled and the <strong id="EN-US_TOPIC_0000001813439004__b5866469577">Result</strong> tab displays the result when:</p>
|
||||
<ol id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_ol54981566"><li id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_li19880414">The query has been executed and the result is being generated.</li><li id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_li44706003">The result of the executed query is being transferred from the server to the Data Studio client.</li></ol>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p25072049">A query cannot be canceled when you are viewing the execution plan of a query. For details, see <a href="DWS_DS_033.html">Viewing the Execution Plan and Costs</a>.</p>
|
||||
<p id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p24321850">The <strong id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_b1415722113182">Messages</strong> tab displays a message indicating that the query has been cancelled.</p>
|
||||
<div class="note" id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_note23912794"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p class="text" id="EN-US_TOPIC_0000001813439004__en-us_topic_0185265031_p50509875">The <strong id="EN-US_TOPIC_0000001813439004__b30473477245019">Cancel</strong> option is enabled only when a query is being executed.</p>
|
||||
</div></div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="familylinks">
|
||||
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
image_size('.imgResize');
|
||||
var msg_imageMax = "view original image";
|
||||
var msg_imageClose = "close";
|
||||
//--></script>
|
||||
Reference in New Issue
Block a user