forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
551 lines
101 KiB
HTML
551 lines
101 KiB
HTML
<a name="EN-US_TOPIC_0000001234200573"></a><a name="EN-US_TOPIC_0000001234200573"></a>
|
|
|
|
<h1 class="topictitle1">Working with SQL Terminals</h1>
|
|
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p20600174">In <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b42214615406">SQL Terminal</strong>, you can</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul51183840"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li59122471847"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section20334134104119">Automatically Commit a Transaction</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li099985913519"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li4478104713279"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section5488201717246">Multi-Column Sort</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1813717505580"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section7637071471">Backuping Unsaved Queries/Functions/Procedures</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li198698551148"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section0486740204318">Error Locator</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li436915419511"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section942319263275">Search in PL/SQL Viewer or SQL Terminal</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li610716101051"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section295082372218">Go to Line in PL/SQL Viewer or SQL Terminal</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1857202710114"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section134691211285">Comment/Uncomment</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li12441242171114"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2611012152811">Indent/Un-indent Lines</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li54581559781"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16493161471713">Insert Space</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li11315150512"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section1691612421411">Execute Multiple Functions/Procedures or Queries</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li724722013515"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section46225611153">Rename SQL Terminal</a></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_xref1582019248495">SQL Assistant</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li6200161316818"><a href="#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2303144411114">Using Templates</a></li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section20334134104119"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section20334134104119"></a><a name="en-us_topic_0185264856_section20334134104119"></a><h4 class="sectiontitle">Auto Commit</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17357052124510">The <strong id="EN-US_TOPIC_0000001234200573__b859176103810">Auto Commit</strong> option can be switched on or off based on the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b350916278311">Preferences</strong> settings. Refer to <a href="DWS_DS_138.html#EN-US_TOPIC_0000001188521052__en-us_topic_0185264581_section210212814444">Transaction</a> for more details.</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul89315613515"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li0935561555">If <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b081375214412">Auto Commit</strong> option is enabled, <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b191312121514">Commit</strong> and <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b63571015052">Rollback </strong>buttons are disabled. Transactions are committed automatically.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li8928582513">If <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b24061561746">Auto Commit</strong> option is disabled, <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b19656192855">Commit</strong> and <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b57021158515">Rollback</strong> buttons are enabled. You can use the buttons manually to commit or revert the changes.<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note4417154191610"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul8332312162414"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li633241216243">For OLAP, the server will open a transaction for all SQL statements, such as <strong id="EN-US_TOPIC_0000001234200573__b1731111618394">select</strong>, <strong id="EN-US_TOPIC_0000001234200573__b14270191919399">explain select</strong>, and <strong id="EN-US_TOPIC_0000001234200573__b143911228394">set parameter</strong>.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1096171213589">For OLTP, the server will open a transaction for only DML statements, such as <strong id="EN-US_TOPIC_0000001234200573__b179351052184019">INSERT</strong>, <strong id="EN-US_TOPIC_0000001234200573__b15638205514020">UPDATE</strong>, and <strong id="EN-US_TOPIC_0000001234200573__b204132582405">DELETE</strong>.</li></ul>
|
|
</div></div>
|
|
</li></ul>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p131232584205"><strong id="EN-US_TOPIC_0000001234200573__b562910142115">Reuse Connection</strong></p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1568164713317">It enables the user to choose the same SQL terminal connection or new connection for the result set. The selection affects the record visibility due to the isolation levels defined in the database server.</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul28495612264"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li118425616265">When <strong id="EN-US_TOPIC_0000001234200573__b1129736162119">Reuse Connection</strong> is <strong id="EN-US_TOPIC_0000001234200573__b312923612213">ON</strong>, terminal connection will be used for data manipulation and refresh of the result window.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4738162716389">For some data base temp tables that are created or used by the terminal can be edited in the result window.</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul206326872717"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li106321186275">When <strong id="EN-US_TOPIC_0000001234200573__b752820294225">Reuse Connection</strong> is <strong id="EN-US_TOPIC_0000001234200573__b12528152917220">OFF</strong>, new connection will be used for data manipulation and refresh of the result window.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1544185134515">For some databases, the temporary tables can be edited in the <strong id="EN-US_TOPIC_0000001234200573__b371752115919">Result</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18813718511"><span><img id="EN-US_TOPIC_0000001234200573__image1514781545611" src="figure/en-us_image_0000001188521188.png"></span>: displayed when <strong id="EN-US_TOPIC_0000001234200573__b108951146990">Reuse Connection</strong> is set to <strong id="EN-US_TOPIC_0000001234200573__b128960468914">ON</strong></p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1121514911717"><span><img id="EN-US_TOPIC_0000001234200573__image14520102718562" src="figure/en-us_image_0000001234200699.png"></span>: displayed when <strong id="EN-US_TOPIC_0000001234200573__b197461931109">Reuse Connection</strong> is set to <strong id="EN-US_TOPIC_0000001234200573__b574617312104">OFF</strong></p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p178517441810"><span><img id="EN-US_TOPIC_0000001234200573__image125241538175610" src="figure/en-us_image_0000001234200713.png"></span>: displayed when <strong id="EN-US_TOPIC_0000001234200573__b984917142101">Reuse Connection</strong> is disabled</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2460143214716">Perform the following steps to set <strong id="EN-US_TOPIC_0000001234200573__b977103112102">Reuse Connection</strong> to <strong id="EN-US_TOPIC_0000001234200573__b7837313109">OFF</strong>:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol18594102252511"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li12594922102513"><span>Click <span><img id="EN-US_TOPIC_0000001234200573__image14319480714" src="figure/en-us_image_0000001234042223.png"></span> on the <strong id="EN-US_TOPIC_0000001234200573__b19878152816236">SQL Terminal </strong>toolbar.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p967054212481"><strong id="EN-US_TOPIC_0000001234200573__b15761339102312">Reuse Connection</strong> is disabled for the terminal. <span><img id="EN-US_TOPIC_0000001234200573__image1856119418818" src="figure/en-us_image_0000001188362636.png"></span></p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1901173312311"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul69221304413"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li115419181626">The <strong id="EN-US_TOPIC_0000001234200573__b17257191820569">Reuse Connection</strong> function is enabled by default. You can disable it as required. If you enable <strong id="EN-US_TOPIC_0000001234200573__b1222123818565">Auto Commit</strong>, the system automatically enables the <strong id="EN-US_TOPIC_0000001234200573__b179411451205617">Reuse Connection</strong> function.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li24301642195012">If you disable <strong id="EN-US_TOPIC_0000001234200573__b10587595573">Auto Commit</strong>, the system automatically disables the <strong id="EN-US_TOPIC_0000001234200573__b5587109145710">Reuse Connection</strong> function. However, this function is still displayed as <strong id="EN-US_TOPIC_0000001234200573__b4294195920576">Enabled</strong> on the GUI, and the status cannot be modified.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5209122495418">Refer to <a href="DWS_DS_141.html#EN-US_TOPIC_0000001188202558__en-us_topic_0185264923_table169131912115">Table 1</a> for more details about <strong id="EN-US_TOPIC_0000001234200573__b172494142418">Auto Commit</strong> and <strong id="EN-US_TOPIC_0000001234200573__b1424913102418">Reuse Connection</strong>.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113"></a><a name="en-us_topic_0185264856_section16147111413113"></a><h4 class="sectiontitle">Execute SQL Queries</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p58001382">Perform the following steps to execute a function/procedure or SQL query.</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p52250391">Enter a function/procedure(s) or SQL query(s) in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b47942356161533">SQL Terminal</strong> tab and click <span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image11944495" src="figure/en-us_image_0000001234042399.png"></span> in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b53368769161533">SQL Terminal </strong>tab, or press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b10556876161533">Ctrl+Enter</strong>, or choose <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b27903024161533">Run > Compile/Execute Statement</strong> from the main menu.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p491478">Alternatively, you can right-click in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b49800631161533">SQL Terminal</strong> tab and select <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b28544062194635">Execute Statement</strong>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note4423307"><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_0000001234200573__en-us_topic_0185264856_p38744283">You can check the status bar to view the status of a query being executed.</p>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p39809767">The <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b149151532102517">Result</strong> tab displays the results after executing the function/procedure(s) or SQL queries along with the query statement executed.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p27498551536">If the connection is lost during execution and the database is still connected in Object Browser, then <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1418310162110">Connection Error </strong>dialog box is displayed:</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul1746843945219"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li94681439155218"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b147222220352">Reconnect</strong> - The connection is reestablished.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li10468839125219"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b8722132211359">Reconnect and Execute</strong> - With Auto commit on, execution will continue from failure statement. With Auto commit off, execution will continue from position of cursor.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li13468143917524"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1072232273517">Cancel</strong> - Disconnects database in Object Browser.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17441841111">Failure to reconnect after three attempts will disconnect the database in Object Browser. Connect to the database in Object Browser and retry execution.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note14760163015118"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul17595729195916"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li17572929195917">For long running queries, result set can be edited only after the complete results are fetched.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li65952295595">Editing of query results are only allowed in following scenarios:<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul1743111405592"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li137641837195911">Selected targets are from a single table</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li187651737125910">Either select all columns or subset of columns [No aliases, aggregate functions, expressions on columns]</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li167654377594">All WHERE condition</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li7766163715590">All ORDER BY clause</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li680773718717">On regular, partition, and temporary tables.</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1521345312320">Committing an empty row assigns Null to all columns.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li383375616239">Only result set of queries executed on tables available in Object Browser is editable.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li165231201241">Editing of query results is allowed only for queries executed in SQL Terminal.</li></ul>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p47486498181138">The column width definition can be set using <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b6512103216263">Settings > Preferences</strong> option. Refer to <a href="DWS_DS_141.html#EN-US_TOPIC_0000001188202558__en-us_topic_0185264923_section28611419201210">Query Results</a> to set this parameter.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18350101268"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b9941923203518">Column Reorder</strong></p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1455742411571">Column reordering can be performed by clicking and dragging the selected column header to the desired position.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section5488201717246"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section5488201717246"></a><a name="en-us_topic_0185264856_section5488201717246"></a><h4 class="sectiontitle">Multi-Column Sort</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p786195194113">This feature allows the user to sort table data of some pages by multiple columns. In addition, you can set the priority of columns for sorting.</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14557193251218">The feature is available for the following pages:</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul1835421284013"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li249512586120">Result Set Tab</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1532332171315">Edit Table Data Window</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li615131031310">View Table Data Window</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li15932134781213">Batch Drop Result Window</li></ul>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p13119123816139">Follow the steps below to access Multi-column sort:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol204501720152514"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li99631657141314"><span>Click <span><img id="EN-US_TOPIC_0000001234200573__image3795171435716" src="figure/en-us_image_0000001233922257.png"></span> in the toolbar.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p69941513181410"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b77532243114">Multi-Column Sort</strong> pop-up is displayed.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17906286209"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image190608112019" src="figure/en-us_image_0000001188362624.png"></span></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li6429125912147"><span>Click <strong id="EN-US_TOPIC_0000001234200573__b11668548163317">Add Column</strong>. Choose the column to be sorted from the drop-down list.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p6755195410561"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image775555419561" src="figure/en-us_image_0000001188362626.png"></span></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li0930316175718"><span>Select the required sort order.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li19604547171717"><span>Click <strong id="EN-US_TOPIC_0000001234200573__b1229712773920">Apply</strong>.</span></li></ol>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5523543111817">Multi-sort pop up has following elements:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table19739137181714" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Elements of multi-column pop-up:</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1274112761718"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.34.2.4.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p12403122435717">Attribute Name</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.34.2.4.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p974111791714">UI Element Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.34.2.4.1.3"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p157411576172">Description/Action</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row974107161718"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p67412716174">Priority</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1774117131712">Read only text field</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1392411329233">Shows column priority in multi sort.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row374197161711"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p074117713172">Column Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p99131211152416">Combo field having all column names of the table as its value set</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p10553175912256">Column name of the column added for sorting.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row17416713171"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p57411172173">Data Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p187413718172">Read only text field</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p588721716275">Shows data type of the column selected.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row157411371173"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2741137101714">Sort Order</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p77418721714">Combo field having values {sort_ascending, sort_descending}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p181491619306">Sort order of the column.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row284418384718"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p167476124223">Add Column</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1284411316474">Button</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p158441236475">Adds new row to multi-sort table.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row175881986472"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p175889819479">Delete Column</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p181804262306">Button</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1070417417316">Deletes selected column from multi-sort table.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row55519125475"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p55511412124714">Up</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p111801526193017">Button</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p39614523212">Moves selected column up by 1 step, thus changing sort priority.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row742021611473"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p104201516174718">Down</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1219612663010">Button</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2058645112328">Moves selected column down by 1 step, this changing sort priority.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row5638132064712"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19638122011477">Apply</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1819602619304">Button</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.34.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4501033314">Apply prepared sort configuration.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1576515178253"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1391842413518">Except following data types, all the other data types will be sorted by their string value (Alphabetical order):</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1054613446287">TINYINT, SMALLINT, INTEGER, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, BIT, BOOLEAN, DATE, TIME, TIME_WITH_TIMEZONE, TIMESTAMP, TIMESTAMP_WITH_TIMEZONE.</p>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p251616311409">Elements of Multi-Column Pop-up:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table687275611619" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Icons of multi-column Pop-up</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row0872856181618"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.37.2.4.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p121821435468">Icon</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.37.2.4.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p11872056121620">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.37.2.4.1.3"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p7872256141613">Action</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row14872195618162"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p987295691610"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1625532314332" src="figure/en-us_image_0000001188521174.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2151413194611">Not Sorted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5259954204618">This icon in column header indicates that the column is not sorted. You can click this icon to sort the column in ascending order.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p81139241050">Alternatively, use <strong id="EN-US_TOPIC_0000001234200573__b173191920151017">Alt+Click</strong> to select the column header.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row087275621619"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p28721156111613"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image12718133315332" src="figure/en-us_image_0000001234042219.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p540316104610">Ascending Sort</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p111343816611">This icon in column header indicates that the column is sorted in ascending order. If you click on this icon, the column will be sorted in descending order.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14215636461">Alternatively, use <strong id="EN-US_TOPIC_0000001234200573__b87161640173510">Alt+Click</strong> to select the column header.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row19872205617164"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p287245612161"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image11245114317336" src="figure/en-us_image_0000001233800775.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p72906193461">Descending Sort</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.37.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p87795442065">This icon in column header indicates that the column is sorted in descending order. You can click this icon to cancel the column sorting.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p33656435720">Alternatively, use <strong id="EN-US_TOPIC_0000001234200573__b1381603103614">Alt+Click</strong> to select the column header.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p3661543864">Icons for the sort priority are as follows:</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18783127175315"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image123171387531" src="figure/en-us_image_0000001188202656.png"></span>: Icon with three dots indicates the highest priority.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p163751516155311"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image16494202355314" src="figure/en-us_image_0000001188681098.png"></span>: Icon with two dots indicates the second highest priority.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p159533025312"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image19313203014532" src="figure/en-us_image_0000001188681110.png"></span>: Icon with one dot indicates the lowest priority.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table3645144612165" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Toolbar Menus</caption><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row186451146171610"><th align="left" class="cellrowborder" valign="top" width="24.792479247924792%" id="mcps1.3.42.2.4.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p0379114991616"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b103132042101710">Toolbar Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="24.992499249924993%" id="mcps1.3.42.2.4.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1637964951610"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1832217423172">Toolbar Icon</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.215021502150215%" id="mcps1.3.42.2.4.1.3"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18395154961610"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b932318421171">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1064564681615"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1141014912163">Copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15410849171612"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image18410164971612" src="figure/en-us_image_0000001188202662.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p6410184911166">This button is used to copy selected content from result window to clipboard. Shortcut key - <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b152594391515">Ctrl+C</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row2645154651612"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p154261649121615">Advanced Copy</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p114261849191611"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image242620494169" src="figure/en-us_image_0000001188202670.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p54421949101616">This button is used to copy content from result window to clipboard. Results can be copied to include column header. Refer to <a href="DWS_DS_141.html#EN-US_TOPIC_0000001188202558__en-us_topic_0185264923_section28611419201210">Query Results</a> to set this preference. The shortcut key is <strong id="EN-US_TOPIC_0000001234200573__b15201044152517">Ctrl+Shift+C</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row11645846121617"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p164421249181620">Export all data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__p75586425816"><span><img id="EN-US_TOPIC_0000001234200573__image754034217813" src="figure/en-us_image_0000001233922259.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14119113218128">This button is used to export all data in Excel (xlsx/xls), CSV, text, or binary format. For details, see <a href="DWS_DS_98.html">Exporting Table Data</a>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note16473249131612"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul44736497167"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li24737490167">The columns involved in the query are automatically populated in the <strong id="EN-US_TOPIC_0000001234200573__b662993416010">Selected Columns</strong> area. The <strong id="EN-US_TOPIC_0000001234200573__b591515429019">Available Columns</strong> area is empty.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li248894917163">To export the query results, the query is re-executed using a new connection. The exported results may differ from the data in the results tab.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li4488124911162">Disabled for explain/analyze queries. To export explain/analyze queries use the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b139608367312">Export current page data</strong> option.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1764544651610"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p750434913163">Export current page data</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__p1553817595712"><span><img id="EN-US_TOPIC_0000001234200573__image85183592714" src="figure/en-us_image_0000001188681108.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2052054920163">This button is used to export current page data in Excel (xlsx/xls) or CSV format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row06450461167"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15201049111613">Paste</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19535114914161"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image12535164918161" src="figure/en-us_image_0000001234200711.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2053504912161">This button is used to paste copied information. For details, see <a href="DWS_DS_102.html#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section3927320420">Paste</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row20645144612165"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p3551194910160">Add</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p135515490168"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image7551104981617" src="figure/en-us_image_0000001234042217.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p115661449191617">This button is used to add a row to the result set. For details, see <a href="DWS_DS_102.html#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section5333590620118">Insert</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row464517467162"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p7566349131618">Delete</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p12582134919164"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image9582144918162" src="figure/en-us_image_0000001233922269.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p65983492167">This button is used to delete a row from the result set. For details, see <a href="DWS_DS_102.html#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2976164920345">Delete</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row16645646121620"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18613349191614">Save</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p10613104911163"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image12613249151612" src="figure/en-us_image_0000001234042225.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1162924921614">This button is used to save the changes made in the result set. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1164517462167"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17629114941615">Rollback</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18645049181620"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1364513497166" src="figure/en-us_image_0000001188521184.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p964504914161">This button is used to roll back the changes made to the result set. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row16645346121614"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5660124971611">Refresh</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p26601549121614"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1966044911610" src="figure/en-us_image_0000001188362634.jpg"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p146762494164">This button is used to refresh information in the result set. If multiple result sets are open for the same table, then changes made to one result set will reflect on the other post refresh. Similarly if the same table is edited, then the result set will be updated post refresh.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1664514460166"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17676184911167">Clear Unique Key selection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p186761249201616"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image86921149151619" src="figure/en-us_image_0000001188202660.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1569212492167">This button is used to clear the previous unique key selection. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row17645846131618"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p13707449101610">Show/Hide Query bar</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19707124915163"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image57071649181618" src="figure/en-us_image_0000001188362628.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p10723104917167">This button is used to display/hide the query executed for that particular result set. This is a toggle button.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row17645144681612"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5723549181615">Show/Hide Search bar</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17738134971619"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image2073844919164" src="figure/en-us_image_0000001188202658.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4738144941619">This button is used to display/hide the search text field. This is a toggle button.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row166450466167"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p575434910167">Encoding</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17541849101610"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1682935913324" src="figure/en-us_image_0000001233922263.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p675415499161">Whether you can configure this field depends on the settings in <span class="menucascade" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_menucascade14041118113310"><b><span class="uicontrol" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_uicontrol16404111843314">Preferences</span></b> > <b><span class="uicontrol" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_uicontrol149361522163314">Result Management</span></b> > <b><span class="uicontrol" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_uicontrol1135466335">Query Results</span></b> > <b><span class="uicontrol" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_uicontrol7537134983312">Result Data Encoding</span></b></span>. In this drop-down list, you can select the appropriate code to view the data accurately. By default, the text is encoded using UTF-8. Refer to <a href="DWS_DS_141.html#EN-US_TOPIC_0000001188202558__en-us_topic_0185264923_section7921102619295">Result Data Encoding</a> to set the encoding preference.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note20770549181615"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__p534172393315">Data editing except for data insertion is restricted once the default encoding is modified.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row164534691612"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15801114961612">Multi Sort</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p108172049101614"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image148176493163" src="figure/en-us_image_0000001188681100.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p175721825111918">This button brings up multi-sort pop up.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1564554641615"><td class="cellrowborder" valign="top" width="24.792479247924792%" headers="mcps1.3.42.2.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p6832114951610">Clear Sort</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="24.992499249924993%" headers="mcps1.3.42.2.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p20848949101616"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image3863134919168" src="figure/en-us_image_0000001188362640.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.215021502150215%" headers="mcps1.3.42.2.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1372165091915">This button is used to reset all the sorted column.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1497714214204">Icons in Search field:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table37142713151" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row67152710154"><th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.44.1.4.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1471567171520"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1510511281378">Icon Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="13%" id="mcps1.3.44.1.4.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p137168715157"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b18108182815713">Icon</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="54%" id="mcps1.3.44.1.4.1.3"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p107168701510"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b141106281774">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row3716978156"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.44.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19716187201514">Search</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.44.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p6717973154"><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1132184941516" src="figure/en-us_image_0000001234042221.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.44.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p37175731516">This icon is used to search the result set based on the criteria defined. The text is case-insensitive.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row371713718152"><td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.44.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p177179711512">Clear Search Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="13%" headers="mcps1.3.44.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200573__p1533711531968"><span><img id="EN-US_TOPIC_0000001234200573__image531018531610" src="figure/en-us_image_0000001188681102.png"></span></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="54%" headers="mcps1.3.44.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1971897121516">This icon is used to clear the search text entered in the search field.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p781580164420">Right-click options in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b0870161614186">Result</strong> window:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table180717121582" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1494941220819"><th align="left" class="cellrowborder" valign="top" width="22.220000000000002%" id="mcps1.3.46.1.3.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15950131214811"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b4806015205">Option</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="77.78%" id="mcps1.3.46.1.3.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1095011127820"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b188071118209">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row189509121982"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.46.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1495018125810">Close</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.78%" headers="mcps1.3.46.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p195016121386">Closes only the active result window.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1495014123819"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.46.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1095015121089">Close Others</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.78%" headers="mcps1.3.46.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p61948766113915">Closes all other result windows except for the active result window.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row98245107196"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.46.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p053172173613">Close Tabs to the Right</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.78%" headers="mcps1.3.46.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p145312213361">Closes only the right active result window.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row129511812886"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.46.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5951112688">Close All</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.78%" headers="mcps1.3.46.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1095171210812">Closes all result windows including the active result window.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row734122131910"><td class="cellrowborder" valign="top" width="22.220000000000002%" headers="mcps1.3.46.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p11866528153620">Detach</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="77.78%" headers="mcps1.3.46.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p10866142863613">Detach from current active result window.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p45924331182158">Status information displayed in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b01281363201">Result</strong> window:</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul4257112011459"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li6430828111331"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b53093560163623">Query Submit Time</strong> - Provides the query submitted time.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li28572972182337">Number of rows fetched with execution time is displayed. The default number of rows is displayed. If there are additional rows to be fetched, then it will be denoted with the word "more". You can scroll to the bottom of the table to fetch and display all rows.<div class="notice" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note73364018259"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p7341940132514">When viewing table data, Data Studio automatically adjusts the column widths for a good table view. Users can resize the columns as needed. If the text length exceeds the column width and you adjust the column width, Data Studio may fail to respond.</p>
|
|
</div></div>
|
|
</li></ul>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note569796511260"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul7186133163524"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li55611750102113">Each time a query is run in <strong id="EN-US_TOPIC_0000001234200573__b09281137142920">SQL Terminal</strong> tab, a new result window opens. To view the results in the new window, you must select the newly opened window.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li161971648141411">Set the <strong id="EN-US_TOPIC_0000001234200573__b565210538291">focusOnFirstResult</strong> configuration parameter to <strong id="EN-US_TOPIC_0000001234200573__b126521253142916">false</strong> to automatically set focus to the newly opened <strong id="EN-US_TOPIC_0000001234200573__b165285318297">Result</strong> window. For details, see <a href="DWS_DS_16.html">Installing and Configuring Data Studio</a>.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li12221145918511">Each row, column and selected cells can be copied from the result set.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li33221143181220">Export all data operation will be successful even after the connection is removed.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1383412895418">If the text of a column contains spaces, word wrapping is applied to fit the column width. Word wrapping is not applied to columns without spaces.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li16945133215486">Select part of cell content and press <strong id="EN-US_TOPIC_0000001234200573__b1062944183015">Ctrl+C </strong>or click <span><img id="EN-US_TOPIC_0000001234200573__image208776141168" src="figure/en-us_image_0000001234200705.jpg"></span> to copy selected text from a cell.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1397123019548">The size of the column is determined by the maximum content length column.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li762714515714">You can save preference to define:<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul12732162911"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1619316133914">Number of records to be fetched</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li32379204918">Column width</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li7912822798">Copy option from result set<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2187154619482"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li7912822798"></a><a name="en-us_topic_0185264856_li7912822798"></a>For details, see <a href="DWS_DS_141.html#EN-US_TOPIC_0000001188202558__en-us_topic_0185264923_section28611419201210">Query Results</a>.</p>
|
|
</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1054481685716">If any column of resultset tab has Lock Image icon in it, then values are not editable.</li></ul>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section7637071471"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section7637071471"></a><a name="en-us_topic_0185264856_section7637071471"></a><h4 class="sectiontitle">Backuping Unsaved Queries/Functions/Procedures</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p5903340164917">Data Studio creates back up of unsaved data in SQL Terminal and PL/SQL Viewer periodically based on the time interval defined in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b186508620101">Preferences</strong> tab. The data can be encrypted and saved based on <strong id="EN-US_TOPIC_0000001234200573__b571521115323">Preference</strong> settings. Refer to <a href="DWS_DS_139.html#EN-US_TOPIC_0000001234200631__en-us_topic_0185264709_section1980415371926">Query/Function/Procedure Backup</a> to turn on/off backup, define time interval to save the data, and encrypt the saved data.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p360313163527">Unsaved changes of each SQL Terminal/PL/SQL Viewer are taken as backup and stored in <strong id="EN-US_TOPIC_0000001234200573__b8604103373216"><em id="EN-US_TOPIC_0000001234200573__i3604163313322">DataStudio\UserData\<user name>\Autosave folder</em><em id="EN-US_TOPIC_0000001234200573__i12604193323212">.</em></strong> Backup files saved before unexpected shutdown of Data Studio will be available at next login.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p9668165517712">In case there are unsaved data in SQL Terminal/PL/SQL Viewer, during graceful exit, Data Studio will wait for backup to complete before closing.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section0486740204318"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section0486740204318"></a><a name="en-us_topic_0185264856_section0486740204318"></a><h4 class="sectiontitle">Error Locator</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2476183154514">During execution of query/function/procedure in case of an error the error locator message is displayed.</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1536328114611"><strong id="EN-US_TOPIC_0000001234200573__b1195514146333">Yes</strong> - Click <strong id="EN-US_TOPIC_0000001234200573__b895521433316">Yes</strong> to continue with the execution.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p536112810464"><strong id="EN-US_TOPIC_0000001234200573__b1511301913310">No</strong> - Click <strong id="EN-US_TOPIC_0000001234200573__b10113119143314">No</strong> to stop the execution.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1186392315509">You can select <strong id="EN-US_TOPIC_0000001234200573__b5618510439">Do not display other errors that occur during the execution</strong> to hide the error messages and proceed with the current SQL query.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p33742812460">Line number and position of error displays in <strong id="EN-US_TOPIC_0000001234200573__b885464383413">Messages</strong> tab. The corresponding line number is marked with <span><img id="EN-US_TOPIC_0000001234200573__image7503105217349" src="figure/en-us_image_0000001188202848.png"></span> icon along with red underline at the position of the error in the Terminal/PL/SQL Viewer. Hovering over <span><img id="EN-US_TOPIC_0000001234200573__image121510115357" src="figure/en-us_image_0000001188681304.png"></span> displays the error message. For details about why the line number does not match the error detail, see <a href="DWS_DS_155.html">FAQs</a>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1342616012514"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p74271308258">If the query/function/procedure is modified while execution is in progress, then error locator may not display the correct line and position number.</p>
|
|
</div></div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section942319263275"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section942319263275"></a><a name="en-us_topic_0185264856_section942319263275"></a><h4 class="sectiontitle">Search in PL/SQL Viewer or SQL Terminal</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p6301862411110">Follow the steps below to search in PL/SQL Viewer or SQL Terminal:</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p30621191111219"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b3008871111256">F3 </strong>key is used to search next word and <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b4469497411448">Shift+F3</strong> key is used to search previous word. These shortcut keys will be enabled only after <strong id="EN-US_TOPIC_0000001234200573__b16318110113616">Ctrl+F</strong> is used to search a text. These keys will be active with the current search word until a new word is searched. The value searched using <strong id="EN-US_TOPIC_0000001234200573__b188731871369">Ctrl+F</strong> and <strong id="EN-US_TOPIC_0000001234200573__b8873187163611">F3/Shift+F3</strong> will be applicable only for the current instance.</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol1193166131014"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li0591922111013"><span>Choose<strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b43803688113442"> Edit > Find </strong><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b16305163316532">and Replace</strong> from the main menu.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p8591162215106">Alternatively press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b17838674111838">Ctrl+F</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1592922161011"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b50469366113448">Find and Replace</strong> dialog box is displayed.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li2852655161018"><span>Enter the text to be searched for in the <strong id="EN-US_TOPIC_0000001234200573__b119793514348">Find what</strong> field, and click the <strong id="EN-US_TOPIC_0000001234200573__b59866543410">Find Next</strong> button.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p285265519105">The desired text is highlighted.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1485355521011"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b44064486113513">F3</strong> and <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b9002465113519">Shift+F3</strong> key will now be enabled for forward and backward search.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1885315561017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18853255141012">Select <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b60954968113542">Wrap around</strong> option to continue the search after reaching the last line in the SQL queries or PL/SQL statements.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section295082372218"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section295082372218"></a><a name="en-us_topic_0185264856_section295082372218"></a><h4 class="sectiontitle">Go to Line in PL/SQL Viewer or SQL Terminal</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p32444348113622">Go to line option is used to skip to a specific line in the terminal.</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p41311287113728">Follow the steps below to go to a line in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol13967926131312"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1627614201144"><span>Choose <strong id="EN-US_TOPIC_0000001234200573__b143071306136">Edit</strong> > <strong id="EN-US_TOPIC_0000001234200573__b73081630151312">Go To Line</strong> from the main menu or press <strong id="EN-US_TOPIC_0000001234200573__b830863021312">Ctrl+G</strong>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14277192011148">The <strong id="EN-US_TOPIC_0000001234200573__b1241954713139">Go To Line</strong> dialog box is displayed.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1627762011149"><span>Enter the desired number in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b7963946114016">Enter the line number</strong> field, and then click the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1357508011403">OK</strong> button.</span><p><div class="p" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p52771920141419">The cursor moves to the beginning of the line entered in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1205028316613">Go to Line</strong> dialog box.<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note2277120181417"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1427782081415">Below are invalid inputs to this field.</p>
|
|
<ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul10277192051418"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1827742021415">Non-numeric value</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li15277820101410">Special characters</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1927952031411">Line number entered does not exist in the editor.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li15279112081417">More than 10 digits is entered.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section134691211285"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section134691211285"></a><a name="en-us_topic_0185264856_section134691211285"></a><h4 class="sectiontitle">Comment/Uncomment</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19315312154910">Comment/uncomment option is used to comment/uncomment lines or block of lines.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14888133895610">Follow the steps below to comment/uncomment lines in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol1620391071510"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li11744194159"><span>Select the lines to comment/uncomment.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li157461931516"><span>Choose<strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1169814142306"> Edit </strong>option.<strong id="EN-US_TOPIC_0000001234200573__b75571106506"> </strong>Choose<strong id="EN-US_TOPIC_0000001234200573__b9558130205015"> Comment</strong><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b15101626133010">/Uncomment Lines</strong> from the main menu.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1675419171512">Alternatively, press <strong id="EN-US_TOPIC_0000001234200573__b1953913151462">Ctrl+/</strong> or right-click a line and select <strong id="EN-US_TOPIC_0000001234200573__b1254520155619">Comment/Uncomment Lines</strong>.</p>
|
|
</p></li></ol>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p75881927201">Follow the steps below to comment/uncomment block of lines/content in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol141971819141618"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1856892510169"><span>Select the lines/content to comment/uncomment.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1056810257162"><span>Choose<strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b376718506421"> Edit </strong>option. Choose<strong id="EN-US_TOPIC_0000001234200573__b422214266524"> Comment/Uncomment Block</strong> from the main menu.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19568152501616">Alternatively, press <strong id="EN-US_TOPIC_0000001234200573__b216916518138">Ctrl+Shift+/</strong> or right-click a line or the entire block and select <strong id="EN-US_TOPIC_0000001234200573__b9176115131315">Comment/Uncomment Block</strong>.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2611012152811"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2611012152811"></a><a name="en-us_topic_0185264856_section2611012152811"></a><h4 class="sectiontitle">Indent/Un-indent Lines</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p184211950131510">The indent/un-indent option is used to shift lines as per the indent size defined in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b597695110136">Preferences</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15821815112517">Follow the steps to indent lines in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol174781249111618"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1349195621618"><span>Select the lines to indent.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li164919567166"><span>Press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b9473171532518">Tab </strong>or click<strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b6473101542510"> </strong><span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image67906116258" src="figure/en-us_image_0000001234042415.jpg"></span>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4491145619168">Shift the selected line as per the indent size defined in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b16442422122119">Preferences</strong> tab. For details about modifying the indent size, see <a href="DWS_DS_138.html#EN-US_TOPIC_0000001188521052__en-us_topic_0185264581_section64411944205615">Formatter</a>.</p>
|
|
</p></li></ol>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1458810261350">Follow the steps to un-indent lines in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol3751166171717"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1170071213179"><span>Select the lines to un-indent.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li570013127173"><span>Press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1662443182412">Shift+Tab</strong> or click <span><img id="EN-US_TOPIC_0000001234200573__image201212211552" src="figure/en-us_image_0000001233800781.jpg"></span>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p18701112171719">Move the selected lines according to the indent size defined in <strong id="EN-US_TOPIC_0000001234200573__b3438151521415">Preferences</strong>. For details about modifying the indent size, see <a href="DWS_DS_138.html#EN-US_TOPIC_0000001188521052__en-us_topic_0185264581_section64411944205615">Formatter</a>.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1870131219178"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17903184510154">Only selected lines that have available tab space will be un-indented. For example, if multiple lines are selected, and one of the selected lines starts at position 1, then pressing <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b681412108186">Shift+Tab</strong> will un-indent all the lines except for the one starting at position 1.</p>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16493161471713"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16493161471713"></a><a name="en-us_topic_0185264856_section16493161471713"></a><h4 class="sectiontitle">Insert Space</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p105047210202">The<strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b23394104289"> Insert Space</strong> option is used to replace a tab with spaces based on the indent size defined in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b7878195723120">Preferences</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1826717476217">Follow the steps below to replace a tab with spaces in PL/SQL Viewer or SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol675033611711"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li14778194211717"><span>Select the lines to replace tab with spaces.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li17786423173"><span>Press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b13278183992113">Tab </strong>or <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b13280339112113">Shift+Tab</strong>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1577814231719">Replaces the tab with spaces as per the indent size defined in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b152493273110">Preferences</strong> tab. For details about modifying the indent size, see <a href="DWS_DS_138.html#EN-US_TOPIC_0000001188521052__en-us_topic_0185264581_section64411944205615">Formatter</a>.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section1691612421411"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section1691612421411"></a><a name="en-us_topic_0185264856_section1691612421411"></a><h4 class="sectiontitle">Execute Multiple Functions/Procedures or Queries</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p30291272">Follow the steps below to execute multiple functions/procedures:</p>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4185994">Insert a forward slash (/) in a new line after the function/procedure in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b26609547155354">SQL Terminal</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p37673953">Add the new function/procedure in the next line.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__p635818245416"><span><img id="EN-US_TOPIC_0000001234200573__image135817241348" src="figure/en-us_image_0000001188681094.jpg"></span></p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p3521261">Follow the steps below to execute multiple SQL queries:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol134865196180"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li17320132811186"><span>Enter multiple SQL queries in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b52560487185910">SQL Terminal</strong> tab as follows:</span><p><p id="EN-US_TOPIC_0000001234200573__p76386421131"><span><img id="EN-US_TOPIC_0000001234200573__image1163854211319" src="figure/en-us_image_0000001188521186.jpg"></span></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li14321328111817"><span>Click <span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image29541015185910" src="figure/en-us_image_0000001234042407.png"></span> in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b64542544185910">SQL Terminal </strong>tab, or press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b44011987185910">Ctrl+Enter</strong>, or choose <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b60563570185910">Run > Compile/Execute Statement</strong> from the main menu.</span><p><div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note932232815186"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul10322162811819"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li23229285186">If the queries are not selected for execution, then only the query in the line where cursor is placed will be executed.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1232232814182">If the cursor is placed next to an empty line, then the next available query statement will be executed.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li123221628101814">If the cursor is placed at the last line which is blank, then no query will be executed.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li15322172871812">If a single query is written in multiples lines and the cursor is placed at any line of the query, then that query is executed. Queries are separated using semicolon (;).</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p16786704">Do as follow to execute an SQL query after a function/procedure:</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p60239541154637">Insert a forward slash (/) in a new line after the function/procedure and click <span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image1167712492556" src="figure/en-us_image_0000001188521366.png"></span> in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b12677949145512">SQL Terminal</strong> tab.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p17545755">Do as follow to execute PL/SQL statements and SQL queries on different connections:</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p23694071">In the toolbar, select the required connection from the connection profiles drop-down list and click <span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image49291940164455" src="figure/en-us_image_0000001234200907.png"></span> in the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b37239960164143">SQL Terminal</strong> tab.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section46225611153"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section46225611153"></a><a name="en-us_topic_0185264856_section46225611153"></a><h4 class="sectiontitle">Rename SQL Terminal</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p391610863913">Follow the steps below to rename SQL Terminal:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol1844811182012"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li20128782017"><span>In the <strong id="EN-US_TOPIC_0000001234200573__b173382076381">SQL Terminal</strong> tab right-click and select <strong id="EN-US_TOPIC_0000001234200573__b93386713382">Rename</strong> <strong id="EN-US_TOPIC_0000001234200573__b1033810710389">Terminal</strong>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1712675204">A <strong id="EN-US_TOPIC_0000001234200573__b9279111111381">Rename</strong> <strong id="EN-US_TOPIC_0000001234200573__b1827971173814">Terminal</strong> dialog box is displayed prompting you to provide the new name for the Terminal.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li17121576208"><span>Enter the new name and select <strong id="EN-US_TOPIC_0000001234200573__b5157151723810">OK</strong> to rename the Terminal.</span><p><div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note113187192017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul71313722013"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li113371207">Terminal name follows Windows file naming convention.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li13131370205"><strong id="EN-US_TOPIC_0000001234200573__b155166303385">Rename Terminal</strong> allows a maximum of 150 characters.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li0131078203">Restore option is not available to revert to the default name. You must manually rename the Terminal to default name.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li131310715201">Tool tip of the renamed Terminal will display the old name.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section1341517264717"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section1341517264717"></a><a name="en-us_topic_0185264856_section1341517264717"></a><h4 class="sectiontitle">SQL Assistant</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p131031957145620">The <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b9669752155015">SQL Assistant</strong> tool provides suggestion or reference for the information entered in <strong id="EN-US_TOPIC_0000001234200573__b15103141733316">SQL Terminal</strong> and <strong id="EN-US_TOPIC_0000001234200573__b091132133320">PL/SQL Viewer</strong>. Follow the steps to open SQL Assistant:</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p111039576563">When Data Studio is launched <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b194163361812">SQL Assistant</strong> panel displays with related syntax topics. As you type a query in the SQL Terminal topics related to the query is displayed. It also provides precautions, examples, syntax, function, and parameter description. Select the text and use the right-click option to copy selected information or copy and paste to SQL Terminal.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note729019184218"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul15999791514"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li17669182712299">Choose <strong id="EN-US_TOPIC_0000001234200573__b56818522510">Settings</strong> > <strong id="EN-US_TOPIC_0000001234200573__b146919524517">Preferences</strong> > <strong id="EN-US_TOPIC_0000001234200573__b369552359">Environment</strong> > <strong id="EN-US_TOPIC_0000001234200573__b14691522517">Session Setting</strong>. In the <strong id="EN-US_TOPIC_0000001234200573__b1670105219519">SQL Assistant</strong> area, enable or disable the <strong id="EN-US_TOPIC_0000001234200573__b670152050">SQL Assistant</strong> function permanently. By default, the <strong id="EN-US_TOPIC_0000001234200573__b1070552356">SQL Assistant</strong> function is enabled permanently.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li4598379156">After the <strong id="EN-US_TOPIC_0000001234200573__b123616319458">SQL Assistant</strong> function is enabled, you can click the <strong id="EN-US_TOPIC_0000001234200573__b1781512311462">SQL Assistant</strong> icon (<span><img id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_image596511612262" src="figure/en-us_image_0000001234042209.png"></span>) on the toolbar to open the <strong id="EN-US_TOPIC_0000001234200573__b7486143818458">SQL Assistant</strong> window. If the <strong id="EN-US_TOPIC_0000001234200573__b18542188154618">SQL Assistant</strong> icon is gray after the <strong id="EN-US_TOPIC_0000001234200573__b1087934924516">SQL Assistant</strong> is enabled, the <strong id="EN-US_TOPIC_0000001234200573__b2942112164619">SQL Assistant</strong> is invalid.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2303144411114"><a name="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section2303144411114"></a><a name="en-us_topic_0185264856_section2303144411114"></a><h4 class="sectiontitle">Using Templates</h4><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p73045391338">Data Studio provides an option to insert frequently used SQL statements in <strong id="EN-US_TOPIC_0000001234200573__b186412011103417">SQL Terminal</strong> or <strong id="EN-US_TOPIC_0000001234200573__b155171020113416">PL/SQL Viewer</strong> using the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b353112411215">Templates</strong> option. Some of the commonly used SQL statements are saved for ease of use. You can create, modify existing templates or remove templates. Refer to <a href="DWS_DS_138.html#EN-US_TOPIC_0000001188521052__en-us_topic_0185264581_section116501350276">Adding/Modifying Templates</a> section for information on adding, removing, and creating new templates.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1489619141813">The following table lists the default templates:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table14621939111817" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1746713910189"><th align="left" class="cellrowborder" valign="top" width="27%" id="mcps1.3.78.4.1.3.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4473539201816"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b18821652134018">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="73%" id="mcps1.3.78.4.1.3.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p247613393183"><strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b682365264010">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1947913392187"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p58481148173914">df</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p15848164803917">delete from</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row19487739111811"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1784904823918">is</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p88492485397">insert into</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row728710119202"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1484954815395">o</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1849174823914">order by</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row187633362191"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p11764836131918">s*</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p677012361197">select from</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row6201111282013"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p984917483391">sc</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p9849174893917">select row count</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1494891216201"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p87984334401">sf</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p3798333134011">select from</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1230661314209"><td class="cellrowborder" valign="top" width="27%" headers="mcps1.3.78.4.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p192516423404">sl</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="73%" headers="mcps1.3.78.4.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p49251742114014">select</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2041415441318">Follow the steps to use the <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b794744410209">Templates</strong> option:</p>
|
|
<ol id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ol1978019395204"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li121812108218"><span>Enter the name of the template in SQL Terminal/PL/SQL Viewer.</span></li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1918191032117"><span>Press <strong id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_b1280135714491">Alt+Ctrl+Space</strong>.</span><p><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p31814102218">A list of saved template information is displayed. The list displayed is based on the following criteria:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table518510102116" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row41917109214"><th align="left" class="cellrowborder" valign="top" width="37%" id="mcps1.3.78.6.2.2.2.1.3.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p819111018215"><strong id="EN-US_TOPIC_0000001234200573__b0412133815405">Exact Match</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="63%" id="mcps1.3.78.6.2.2.2.1.3.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1019191012215"><strong id="EN-US_TOPIC_0000001234200573__b1966785084016">Display List</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row111971018218"><td class="cellrowborder" valign="top" width="37%" headers="mcps1.3.78.6.2.2.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p191901016217">On</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.78.6.2.2.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p19191810112115">Displays all entries that match the input text case.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1619131082114"><strong id="EN-US_TOPIC_0000001234200573__b8486163274114">Example:</strong> Entering "SF" in SQL Terminal/PL/SQL Viewer displays all entries that start with "SF".</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row11919101218"><td class="cellrowborder" valign="top" width="37%" headers="mcps1.3.78.6.2.2.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2019121010218">Off</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="63%" headers="mcps1.3.78.6.2.2.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1019810142119">Displays all entries that match the input irrespective of the text case.</p>
|
|
<p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p4196104211"><strong id="EN-US_TOPIC_0000001234200573__b1720134810417">Example:</strong> Entering "SF" in SQL Terminal/PL/SQL Viewer displays all entries that start with "SF", "Sf", "sF", or "sf".</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_table1819131012216" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row5191100213"><th align="left" class="cellrowborder" valign="top" width="37.37%" id="mcps1.3.78.6.2.2.3.1.3.1.1"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p1320111017213"><strong id="EN-US_TOPIC_0000001234200573__b1314917457406">Text Selection/Cursor Location</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="62.629999999999995%" id="mcps1.3.78.6.2.2.3.1.3.1.2"><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p2201010202117"><strong id="EN-US_TOPIC_0000001234200573__b3406165910407">Display List</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row142021032113"><td class="cellrowborder" valign="top" width="37.37%" headers="mcps1.3.78.6.2.2.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p9211103216">A text is selected and the shortcut key is used</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.78.6.2.2.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p14211410102115">Displays entries that match the text before the selection to the nearest space or new line character.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_row1121210102116"><td class="cellrowborder" valign="top" width="37.37%" headers="mcps1.3.78.6.2.2.3.1.3.1.1 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p221111011219">No text selected and the shortcut key is used</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="62.629999999999995%" headers="mcps1.3.78.6.2.2.3.1.3.1.2 "><p id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_p172171042118">Displays entries that match the text before the cursor to the nearest space or new line character.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="note" id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_note1021210122110"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_ul1821161010210"><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li132181013215">Using the shortcut key without entering text in SQL Terminal/PL/SQL Viewer displays all entries in the <strong id="EN-US_TOPIC_0000001234200573__b8851358204210">Template</strong><strong id="EN-US_TOPIC_0000001234200573__b1785125844216">s</strong>.</li><li id="EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_li1721610122112">If the text entered in SQL Terminal/PL/SQL Viewer has only a single match, then it will be replaced directly in the SQL Terminal/PL/SQL Viewer without listing them out.</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_118.html">SQL Terminal</a></div>
|
|
</div>
|
|
</div>
|
|
|