forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
140 lines
22 KiB
HTML
140 lines
22 KiB
HTML
<a name="EN-US_TOPIC_0000001813439224"></a><a name="EN-US_TOPIC_0000001813439224"></a>
|
|
|
|
<h1 class="topictitle1">Opening Multiple SQL Terminal Tabs</h1>
|
|
<div id="body1584526252529"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p769309">You can open multiple <strong id="EN-US_TOPIC_0000001813439224__b8358007197537">SQL Terminal</strong> tabs in Data Studio to execute multiple SQL statements for query in the current <strong id="EN-US_TOPIC_0000001813439224__b10981130517537">SQL Terminal</strong> tab. Perform the following steps to open a new <strong id="EN-US_TOPIC_0000001813439224__b13035035867537">SQL Terminal</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p3365118">You can also open multiple <strong id="EN-US_TOPIC_0000001813439224__b9210287677537">SQL Terminal</strong> tabs on different connection templates.</p>
|
|
<ol id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_ol19216857106"><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li132154575018"><span>In the <strong id="EN-US_TOPIC_0000001813439224__b18410524277537">Object Browser</strong> pane, right-click the desired database and choose <strong id="EN-US_TOPIC_0000001813439224__b8857064947537">Open Terminal</strong> from the shortcut menu. Alternatively, click <strong id="EN-US_TOPIC_0000001813439224__b18492974513">Open Terminal</strong> in the toolbar or press <strong id="EN-US_TOPIC_0000001813439224__b15981831317537">Ctrl+T</strong> to open a new <strong id="EN-US_TOPIC_0000001813439224__b18389458452">SQL Terminal</strong> tab.</span><p><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p23955544">The <strong id="EN-US_TOPIC_0000001813439224__b9028383877537">SQL Terminal</strong> tab is displayed.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__p33691714104313">The name format of the new <strong id="EN-US_TOPIC_0000001813439224__b83213611481342">SQL Terminal</strong> tab is as follows:</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__p236915146435"><em id="EN-US_TOPIC_0000001813439224__i5006332637537">Database name</em><strong id="EN-US_TOPIC_0000001813439224__b13994526377537">@</strong><em id="EN-US_TOPIC_0000001813439224__i16737402807537">Connection information</em><strong id="EN-US_TOPIC_0000001813439224__b13525593497537">(</strong><em id="EN-US_TOPIC_0000001813439224__i19730033277537">Tab number</em><strong id="EN-US_TOPIC_0000001813439224__b17774853867537">)</strong>, for example, <em id="EN-US_TOPIC_0000001813439224__i3222140037537">postgres</em><strong id="EN-US_TOPIC_0000001813439224__b8198925147537">@</strong><em id="EN-US_TOPIC_0000001813439224__i1487962507537">IDG_1</em><strong id="EN-US_TOPIC_0000001813439224__b19360450857537">(</strong><em id="EN-US_TOPIC_0000001813439224__i11432993307537">2</em><strong id="EN-US_TOPIC_0000001813439224__b119611257537">)</strong>. The number of each <strong id="EN-US_TOPIC_0000001813439224__b213678077181342">SQL Terminal</strong> tab in the same connection information is unique.</p>
|
|
</p></li></ol>
|
|
<div class="note" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_note61350877"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_ul1680111181267"><li class="text" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li15801118362">In Data Studio, a maximum of 100 <strong id="EN-US_TOPIC_0000001813439224__b13791548127537">SQL Terminal</strong> tabs can be opened for each connected database. Based on the number of query times, each <strong id="EN-US_TOPIC_0000001813439224__b7859138137537">SQL Terminal</strong> tab contains multiple <strong id="EN-US_TOPIC_0000001813439224__b2616559797537">Result</strong> tabs and one <strong id="EN-US_TOPIC_0000001813439224__b10455789757537">Message</strong> tab. If the database connection is lost, the corresponding <strong id="EN-US_TOPIC_0000001813439224__b15704375387537">SQL Terminal</strong> tab is still available.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li626182111610">The restoration operation applies to all minimized <strong id="EN-US_TOPIC_0000001813439224__b18207796577537">SQL Terminal</strong> tabs. You cannot restore a single tab.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li157196152218">After all terminals are shut down, Data Studio resets the counter of the SQL terminal.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li1665419362419">After all <strong id="EN-US_TOPIC_0000001813439224__b163511533145318">Result Set</strong> tabs are closed, Data Studio resets the counter of the result set.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li124511223241">Data Studio allows you to reset counters in the following pages: <strong id="EN-US_TOPIC_0000001813439224__b136112531539">Display DDL Tablespace</strong>, <strong id="EN-US_TOPIC_0000001813439224__b1561119539536">Display DDL User/Role</strong>, <strong id="EN-US_TOPIC_0000001813439224__b06111453105319">Batch Delete</strong>, <strong id="EN-US_TOPIC_0000001813439224__b1461118537531">Result Set</strong>, and <strong id="EN-US_TOPIC_0000001813439224__b2611135318537">Execution Plan</strong>.</li></ul>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p15286982">Data Studio displays an error message indicating that no result is found in the status bar. The <strong id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_b15943161211611">Result</strong> tab displays the successful execution results.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_section9605937284"><h4 class="sectiontitle">Right-Click Menus in the Result Tab</h4><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p38941155101116">You can copy or export cell data to an Excel file and generate a SQL query file.</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p4171352154414">After the SQL query result is displayed in the <strong id="EN-US_TOPIC_0000001813439224__b9369151157537">Result</strong> tab, right-click the result. The following menu is displayed:</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p126596642217"><span><img id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_image065996162215" width="518.7" src="figure/en-us_image_0000001813599324.png" height="161.351344" title="Click to enlarge" class="imgResize"></span></p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1033220128561">Perform the following steps to add a row number and column header to the result set:</p>
|
|
<ol id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_ol1436019371989"><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li254517101573"><span>On the menu bar of Data Studio, click <strong id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_b1314959124210">Settings</strong>.</span></li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li2759200205813"><span>Choose <strong id="EN-US_TOPIC_0000001813439224__b368818294712">Preferences</strong>. Expand the <strong id="EN-US_TOPIC_0000001813439224__b15735956154613">Result Management</strong> tab and choose <strong id="EN-US_TOPIC_0000001813439224__b12741659154619">Query Results</strong>.</span></li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li191062331106"><span>In the <strong id="EN-US_TOPIC_0000001813439224__b6757596177537">Result Advanced Copy</strong> area, select <strong id="EN-US_TOPIC_0000001813439224__b4568588297537">Include column header</strong> and <strong id="EN-US_TOPIC_0000001813439224__b117306867537">Include row number</strong>.</span></li></ol>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p891671912720">The following table describes the right-click options.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_table4106141441319" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Right-click options</caption><thead align="left"><tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row4106121431310"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.12.2.4.1.1"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p510611401318">Option</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.12.2.4.1.2"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p4106314151313">Sub-Item</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.12.2.4.1.3"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1610618144136">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row19106181419133"><td class="cellrowborder" rowspan="2" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p710651481314">Copy Data</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p61078149133"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1810731461312">Copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p6810111201617">Copies data in the selected cell.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row01073143133"><td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p121071814131311">Advanced Copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1607735121610">Copies data in the selected cell, row number, and column header based on the preference settings.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row15107161441310"><td class="cellrowborder" rowspan="2" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p15107151451318">Copy to Excel</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p197304616153"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p310711491319">Copy as xls</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1652982911617">Exports data of selected cells to an xls file, which contains a maximum of 64,000 rows and 256 columns.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row127309619151"><td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p7730861155">Copy as xlsx</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p15573208191">Exports data of selected cells to an xlsx file, which contains a maximum of 1 million rows.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row5785141014150"><td class="cellrowborder" rowspan="2" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1785191014151">Export</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1428331415155"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p13785121017152">Current Page</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p12736845151911">Exports the table data on the current page.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row13283111491513"><td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1628317147156">All Pages</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p0330145919197">Exports all tables.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row47851184158"><td class="cellrowborder" rowspan="3" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p11785101871516">Generate SQL</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1868841718341"></p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p20891913163416"></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p187861186155">Selected Line</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p15117111372011">Selects data from the target table of the statement for inserting data to generate a SQL file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row16881617143411"><td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1373851523111">Current Page</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1558193272517">Selects data of the current page from the target table of the statement for inserting data to generate a SQL file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row18891413173412"><td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p37381215183115">All Pages</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p2576959172512">Selects all table data from the target table of the statement for inserting data to generate a SQL file.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row346191120387"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p104615115389">Set Null</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p104611111163818">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1262213182610">Sets the cell data to <strong id="EN-US_TOPIC_0000001813439224__b19843255017537">null</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_row1852110151385"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p10523101512386">Search</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p19523111543819">-</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.12.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p149981636112616">Searches for data in the selected cell and displays all data that meets the search criteria.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_note648935510346"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p10841173720273">The preceding SQL files do not take effect for the result sets generated by queries that use <strong id="EN-US_TOPIC_0000001813439224__b7635227847537">JOIN</strong>, expressions, views, <strong id="EN-US_TOPIC_0000001813439224__b12471337027537">SET</strong> operators, aggregate functions, <strong id="EN-US_TOPIC_0000001813439224__b11051873547537">GROUP BY</strong> clauses, or column aliases.</p>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_section114601537112018"><h4 class="sectiontitle">Result Tab (Text View)</h4><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p2133182443219">You can view data in text mode in the <strong id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_b676717301437">Result</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1685514139284">In addition to the grid view, you can also copy and search for data in the text view.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__p623215515411">Click <span><img id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_image64516519192" src="figure/en-us_image_0000001860199401.png"></span> to obtain the result in text mode.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_note110519563148"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p8273627122512">Searching for data in multiple cells may cause the system to display incorrect text results, because all information needs to be copied to the <strong id="EN-US_TOPIC_0000001813439224__b17156989537537">Search</strong> pane in plain text.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_section397913178531"><h4 class="sectiontitle">Displaying Execution Progress Bar</h4><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p13957523547">When a query is executed in the <strong id="EN-US_TOPIC_0000001813439224__b7340113307537">SQL Terminal</strong> pane, a progress bar is displayed to dynamically display the execution duration. After the query is complete, the time bar disappears. The total execution duration is displayed next to the time bar.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1540934322115">If you want to cancel the query, click <strong id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_b1998216354439">Cancel</strong> next to the time bar.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p16563105116517">The procedure is shown in the following figure.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p99221904464"><span><img id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_image149222084610" width="523.6875" src="figure/en-us_image_0000001813439536.jpg" height="223.44" title="Click to enlarge" class="imgResize"></span></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_note177384215466"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_ul1977314422468"><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li20773154284611">The <strong id="EN-US_TOPIC_0000001813439224__b3852162567537">Cancel</strong> button is deleted from the toolbar.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li12773114254610">The progress bar is also displayed when you compile or debug an object in the PL/SQL editor.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li777394213464">The time format displayed in the progress bar is <em id="EN-US_TOPIC_0000001813439224__i14694235977537">w</em> <strong id="EN-US_TOPIC_0000001813439224__b1947425597537">hour</strong> <em id="EN-US_TOPIC_0000001813439224__i14213418787537">x</em> <strong id="EN-US_TOPIC_0000001813439224__b2335855177537">minute</strong> <em id="EN-US_TOPIC_0000001813439224__i19963391467537">y</em> <strong id="EN-US_TOPIC_0000001813439224__b5615809237537">second</strong> <em id="EN-US_TOPIC_0000001813439224__i12415328387537">z</em> <strong id="EN-US_TOPIC_0000001813439224__b6519001207537">millisecond</strong>.</li><li id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_li10773134244619">When queries are performed in batches in <strong id="EN-US_TOPIC_0000001813439224__b16238017937537">SQL Terminal</strong>, the progress bar displays the total time consumed by the queries.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_section19754342174616"><h4 class="sectiontitle">Debugging Duration</h4><p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p855121911447">During debugging, Data Studio displays the status bar, showing the last operation time and total debugging time of each debugging statement.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p1355220192442">During the debugging, the last operation time and total debugging time of the terminal are updated continuously. The value of the total debugging time is the sum of the values of the last operation time.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p3552819204411">This simplifies the search for time-consuming statements in the debugged object.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p355281914442">The procedure is shown in the following figure.</p>
|
|
<p id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_p115521219204416"><span><img id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_image19552151911442" width="523.6875" src="figure/en-us_image_0000001860319241.png" height="240.3975" title="Click to enlarge" class="imgResize"></span></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001813439224__en-us_topic_0185264915_note18552141924416"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813439224__p16918213916">Functions and procedures can be debugged.</p>
|
|
</div></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> |