DWS TG 910.211 version

Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
This commit is contained in:
2025-04-23 13:53:01 +00:00
committed by zuul
parent 7d82735858
commit a5e3903f6b
829 changed files with 25350 additions and 27561 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
<a name="EN-US_TOPIC_0000001860198933"></a><a name="EN-US_TOPIC_0000001860198933"></a>
<h1 class="topictitle1">About Data Studio</h1>
<div id="body8662426"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="dws_07_0012.html">Overview</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_003.html">Constraints and Limitations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_004.html">System Requirements</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_005.html">Customizing Data Studio</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

View File

@ -0,0 +1,29 @@
<a name="EN-US_TOPIC_0000001813598852"></a><a name="EN-US_TOPIC_0000001813598852"></a>
<h1 class="topictitle1">Constraints and Limitations</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_p56771492">This section describes the constraints and limitations for using Data Studio.</p>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section52241050165417"><h4 class="sectiontitle">Character Encoding</h4><p id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_p41011754195417">If the SQL statement, DDL, object name, or data to be viewed contains Chinese characters, set the character encoding to <strong id="EN-US_TOPIC_0000001813598852__b154250884320">GBK</strong> if it is supported by the OS.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section1193812917437"><h4 class="sectiontitle">Connection Management</h4><p id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_p79402294439">On the <strong id="EN-US_TOPIC_0000001813598852__b11368653154317">Advanced</strong> tab of the <strong id="EN-US_TOPIC_0000001813598852__b1137535313431">New Connection</strong> and <strong id="EN-US_TOPIC_0000001813598852__b23751553134311">Edit Connection</strong> pages, commas (,) are used as separators in the <strong id="EN-US_TOPIC_0000001813598852__b03751253154311">include</strong> and <strong id="EN-US_TOPIC_0000001813598852__b17376135317439">exclude</strong> columns. Therefore, a schema name that contains a comma (,) is not supported.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section1974318494412"><h4 class="sectiontitle">Database Tables</h4><ul id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_ul12564165810017"><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li19564158000">On the <strong id="EN-US_TOPIC_0000001813598852__b53391243142912">Index</strong> tab of the table creation wizard, the sequence of the selected columns in the list view cannot be retained after columns are deleted.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li24251031520">When an operation has completed, and if the Data Studio window is not the active window of the operating system, then the message dialog is shown only when the Data Studio window becomes active.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li1181515274311">The following limitations are applicable to operations in <a href="DWS_DS_98.html#EN-US_TOPIC_0000001860318649__section1226872111129">Editing Table Data</a>:<ul id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_ul481518276310"><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li1888210217336">Entering expression values in the <strong id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_b1924391921516">Edit Table Data</strong> tab is not supported.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li481513270310">Data Studio allows editing of fetched records only.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li114480571242">The Editing table filter feature will not highlight search words within HTML tags such as &lt;, &amp;, &gt;.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li142787061015">A cell containing single '&amp;' in it will not be displayed in the tooltip. A cell containing two consecutive '&amp;' will display as a single '&amp;' in the tooltip.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li453981315191">Row focus is not retained on a newly added row. You need to click the desired cell.</li></ul>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section11546138161314"><h4 class="sectiontitle">Function/Procedure</h4><p id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_p921473031313">Functions/Procedures created in the SQL Terminal or the <strong id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_b850941984416">Create Function/Procedure</strong> wizard must end with "/" to indicate the end of functions/procedures. Statements entered after a function/procedure without "/" at the end will be treated as a single query and may trigger errors during execution.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section9547959114210"><h4 class="sectiontitle">General</h4><ul id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_ul14774183914810"><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li207745396482">A maximum of 100 tabs can be opened in the editor area. Tabs are based on available resources of the host machine.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li975113111491">A maximum of 64 characters (text only) are allowed for database object names (database, schema, function, procedure, table, sequence, constraint, index, view, and tablespace). There is no limit to the number of characters that can be used in expressions and descriptions in Data Studio.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li26311102517">A maximum of 300 result tabs can be opened on a logged instance of Data Studio.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li770311102418">If there are large objects loaded in Object Browser and Search Object window, expanding of objects in Object Browser may be slow and Data Studio may become unresponsive.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li15061954102518">Adjusting the cell width may cause Data Studio to fail to respond.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li203261622153010">When the data in a table cell is more than 1,000 characters, it will be trimmed to 1,000 characters with "..." at the end.<ul id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_ul43261822113019"><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li15876943119">If you copy the data from a cell in a table or the <strong id="EN-US_TOPIC_0000001813598852__b1673933101915">Result</strong> tab to any editor, such as SQL terminal/PLSQL source editor, notepad, or any other external editor application, all data is pasted.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li857719339339">If you copy the data from a cell in a table or the <strong id="EN-US_TOPIC_0000001813598852__b19401217171913">Result</strong> tab to an editable cell, the cell displays only the first 1,000 characters and the excess characters are displayed as <strong id="EN-US_TOPIC_0000001813598852__b18940131718192">...</strong>.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li3127204116351">When the table/<strong id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_b1872820162570">Result</strong> tab data is exported, the exported file contains the whole data.</li></ul>
</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section13086181462"><h4 class="sectiontitle">Security</h4><p id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_p4380123612344">Data Studio validates SSL connection parameters only for the first time of connection. If <strong id="EN-US_TOPIC_0000001813598852__b1973015614319">Enable SSL</strong> is selected, the same SSL connection parameters are used when a new connection is opened.</p>
<div class="note" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_note115077461378"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001813598852__ul94672211310"><li id="EN-US_TOPIC_0000001813598852__li7461022111318">If <strong id="EN-US_TOPIC_0000001813598852__b17307488124">Enable SSL</strong> is not selected during connecting to Data Studio, data is not encrypted by default.</li><li id="EN-US_TOPIC_0000001813598852__li1216413265132">If the security file is damaged during the SSL connection, Data Studio cannot perform any database operations. To resolve this problem, delete the security folder in the corresponding configuration folder and restart Data Studio.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_section4547124918432"><h4 class="sectiontitle">SQL Terminal</h4><ul id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_ul117701935125112"><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li377053513514">Opening an SQL file containing a large number of queries may result in an 'Insufficient Memory' error. For details, see <a href="DWS_DS_039.html">Troubleshooting</a>.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li6958142915537">Data Studio does not disable the auto-suggest and hyperlink features in the commented text in the <strong id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_b6475250142117">SQL Terminal</strong>.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li1882614365384">The Hyperlink feature is not supported if the schema or table name have either spaces or dots (.) in them.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li1609134210592">Auto-suggest is not supported if the object name contains single or double quotes in it.</li><li id="EN-US_TOPIC_0000001813598852__en-us_topic_0185264129_li1885095241314">DS supports basic formatting of simple SELECT statements only and may not work as expected for complex queries.</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_001.html">About Data Studio</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,66 @@
<a name="EN-US_TOPIC_0000001860198653"></a><a name="EN-US_TOPIC_0000001860198653"></a>
<h1 class="topictitle1">Configuring SSL Connection</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001584150033_en-us_topic_0000001510164849_en-us_topic_0185264675_p1174011206154">Data Studio can connect to the database using the Secure Sockets Layer [SSL] option. To use the SSL connection mode, you must configure related parameters on the client or in the application code. The GaussDB(DWS) management console provides the SSL certificate required by the client. The SSL certificate contains the default certificate, private key, root certificate, and private key password encryption file required by the client.</p>
<div class="section" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_section9914102616204"><h4 class="sectiontitle">Server Configuration</h4><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_p695305681112">After a cluster is deployed, GaussDB(DWS) enables the SSL authentication mode by default. The server certificate, private key, and root certificate have been configured.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001860198653__section14841501497"><h4 class="sectiontitle">SSL Certificate and Client Configuration</h4><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_p1366818145418">You need to configure the client.</p>
<ol id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_ol1827634419214"><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_li129241946103115"><span>You can download an SSL certificate from GaussDB(DWS).</span><p><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_p1063804811313">Log in to the GaussDB(DWS) management console. In the navigation pane, choose <span class="uicontrol" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001533190636_en-us_topic_0000001523826708_en-us_topic_0000001514019285_uicontrol85392169713"><b>Connections</b></span>. In the <span class="parmname" id="EN-US_TOPIC_0000001860198653__parmname028771917294"><b>Driver</b></span> area, click <span class="uicontrol" id="EN-US_TOPIC_0000001860198653__uicontrol12288141913297"><b>download an SSL certificate</b></span>.</p>
</p></li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_li1180291411225"><span>Decompress the downloaded <strong id="EN-US_TOPIC_0000001860198653__b0162028132915">dws_ssl_cert.zip</strong> package to obtain the certificate file. Click the <strong id="EN-US_TOPIC_0000001860198653__b17391634182911">SSL</strong> tab on the Data Studio client and set the following parameters:</span><p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_tc6a4177683ae43a5a21e02a558b115d1" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Configuring SSL parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_re85a10ea61f04c57a14374ca5c7d6050"><th align="left" class="cellrowborder" valign="top" width="19.38%" id="mcps1.3.3.3.2.2.1.2.3.1.1"><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_a033d348bbfd54eb4bbc8cfdcbe364f7c">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="80.62%" id="mcps1.3.3.3.2.2.1.2.3.1.2"><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p19137554319">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_ra35932b78ca140b7a5439c9f7e3107ad"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.3.3.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_a9ad6035d6045458ebf34506c32399247">Client SSL Certificate</p>
</td>
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.3.3.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_a8107c62bfd1d4ecfacf90307da3294d9">Select the <span class="filepath" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_fea612bd9aaa44bd29b4bbc294e86e824"><b>sslcert\client.crt</b></span> file in the decompressed SSL certificate directory.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_r4a637f73e2164fa1bb65347c59e962cf"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.3.3.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p121516558317">Client SSL Key</p>
</td>
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.3.3.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_a5a76dbcc4fa74168be4ddd10f99571c7">Only the PK8 format is supported. Select the <span class="filepath" id="EN-US_TOPIC_0000001860198653__filepath324716443019"><b>sslcert\client.key.pk8</b></span> file in the directory where the SSL certificate is decompressed.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_re654cf33e6fd4162a322d30a10112453"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.3.3.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p91575583118">Root Certificate</p>
</td>
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.3.3.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_ace66c1ada5ef40aba396d828d1cb5546">When <span class="parmname" id="EN-US_TOPIC_0000001860198653__parmname98748209304"><b>SSL Mode</b></span> is set to <span class="parmvalue" id="EN-US_TOPIC_0000001860198653__parmvalue587472010302"><b>verify-ca</b></span> or <span class="parmvalue" id="EN-US_TOPIC_0000001860198653__parmvalue1187472023018"><b>verify-full</b></span>, the root certificate must be configured. Select the <span class="filepath" id="EN-US_TOPIC_0000001860198653__filepath118741120173019"><b>sslcert\cacert.pem</b></span> file in the decompressed SSL certificate directory.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_rc13e8815e6954b508b90480dd8dfc491"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.3.3.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p516125517315">SSL Password</p>
</td>
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.3.3.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p21655516313">Set the password for the client SSL key in PK8 format.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_r422d1cb572a34d88ae84caa91c68f153"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.3.3.2.2.1.2.3.1.1 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0107187019_p616115515312">SSL Mode</p>
</td>
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.3.3.2.2.1.2.3.1.2 "><p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_aae9d413250a648b4b7f97d2aca66b196">GaussDB(DWS) supports the following SSL modes:</p>
<ul id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_uef8cf175c60947de9f9cccfa40627114"><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_led5000cbf972424193937b27da18335c"><strong id="EN-US_TOPIC_0000001860198653__b471010427309">require</strong>: The SSL factory does not require verification, nor does it check the certificate validity.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_lc88d3ca75992452cb37cfad2d3706233"><strong id="EN-US_TOPIC_0000001860198653__b105111112312">verify-ca</strong>: The certificate authority (CA) will be verified using the corresponding SSL factory.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_li364454519273"><strong id="EN-US_TOPIC_0000001860198653__b44127218981222">verify-full</strong>: The CA and database will be verified using the corresponding SSL factory.</li></ul>
<p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_a294fdd7a18c04b48a350671d148ab611">GaussDB(DWS) does not support the <strong id="EN-US_TOPIC_0000001860198653__b158394606081222">verify-full</strong> mode.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="note" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_note156817411317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_ul1268111443113"><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li66804413113">You can select a valid <strong id="EN-US_TOPIC_0000001860198653__b910920103216">Client SSL Certificate</strong> and <strong id="EN-US_TOPIC_0000001860198653__b15112303320">Client SSL Key</strong> to export DDL and data from Data Studio using secure connections.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li36816453115">If the selected <strong id="EN-US_TOPIC_0000001860198653__b171511542326">Client SSL Certificate</strong> and <strong id="EN-US_TOPIC_0000001860198653__b1015185463213">Client SSL Key</strong> are invalid, the export will fail. For details, see <a href="DWS_DS_039.html">Troubleshooting</a>.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li812317223710">If you deselect <strong id="EN-US_TOPIC_0000001860198653__b177891173333">Enable SSL</strong> and proceed, the <strong id="EN-US_TOPIC_0000001860198653__b16789161733311">Connection Security Alert</strong> dialog box is displayed. Refer to <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a> to determine whether to display this dialog box.<ul id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_ul201301215378"><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li51321828375"><strong id="EN-US_TOPIC_0000001860198653__b4252174419337">Continue</strong>: Continues to use insecure connections.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li3136152133711"><strong id="EN-US_TOPIC_0000001860198653__b12440583181222">Cancel</strong>: Enables SSL.</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li1514015293713"><strong id="EN-US_TOPIC_0000001860198653__b132781854203314">Do not show again</strong>: If you select this option, the <strong id="EN-US_TOPIC_0000001860198653__b127885410339">Connection Security Alert</strong> dialog box is not displayed for the subsequent connections of logged Data Studio instances.</li></ul>
</li><li id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_en-us_topic_0185264624_li1743992617411">Data Studio prompts you to enter the client key upon the first access to the <strong id="EN-US_TOPIC_0000001860198653__b1016104572413">gs_dump</strong> feature.</li></ul>
</div></div>
<div class="fignone" id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_fig7683711879"><span class="figcap"><b>Figure 1 </b>SSL parameters</span><br><span><img id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_i232821e5252d4ed9b71faf166456bbba" src="figure/en-us_image_0000001860199137.png" width="465.5" height="232.044967" title="Click to enlarge" class="imgResize"></span></div>
<p id="EN-US_TOPIC_0000001860198653__en-us_topic_0000001510164849_en-us_topic_0000001290232596_p3338151808"></p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

@ -0,0 +1,31 @@
<a name="EN-US_TOPIC_0000001813439188"></a><a name="EN-US_TOPIC_0000001813439188"></a>
<h1 class="topictitle1">Database Management</h1>
<div id="body0000001582212125"><p id="EN-US_TOPIC_0000001813439188__p8060118"></p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_013.html">Database Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_014.html">Schema Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_015.html">Function/Procedure Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_016.html">Table Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_022.html">View Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_023.html">Sequence Management</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_024.html">Users/Roles</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

View File

@ -0,0 +1,64 @@
<a name="EN-US_TOPIC_0000001813598724"></a><a name="EN-US_TOPIC_0000001813598724"></a>
<h1 class="topictitle1">Database Management</h1>
<div id="body1584524312098"><p id="EN-US_TOPIC_0000001813598724__p10107145123117">A relational database contains a set of tables that can be operated based on the relational model of data. A relational database contains a group of data objects for storing, managing, and accessing data objects, including tables, views, indexes, and functions.</p>
<div class="section" id="EN-US_TOPIC_0000001813598724__section1966415102453"><h4 class="sectiontitle">Creating a Database</h4><ol id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264253_ol43338546191357"><li id="EN-US_TOPIC_0000001813598724__li710181734620"><span>In the <strong id="EN-US_TOPIC_0000001813598724__b74741418172413">Object Browser</strong> pane, right-click the <strong id="EN-US_TOPIC_0000001813598724__b67973239241">Databases</strong> group and select <strong id="EN-US_TOPIC_0000001813598724__b1778133018245">Create Database</strong>.</span><p><p id="EN-US_TOPIC_0000001813598724__p1220115238467"><span><img id="EN-US_TOPIC_0000001813598724__image887515236463" src="figure/en-us_image_0000001860319089.png"></span></p>
<p id="EN-US_TOPIC_0000001813598724__p1364973714231"></p>
</p></li><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264253_li54502602191357"><span>A <strong id="EN-US_TOPIC_0000001813598724__b4742292255">Create Database</strong> dialog box is displayed, prompting you to provide the information required for creating a database.</span><p><ul id="EN-US_TOPIC_0000001813598724__ul665913224719"><li id="EN-US_TOPIC_0000001813598724__li889018494718">Enter a database name.</li><li id="EN-US_TOPIC_0000001813598724__li106591925475">Select the required type of encoding character set from the <strong id="EN-US_TOPIC_0000001813598724__b1012813612618">Database Encoding</strong> drop-down list. The database supports <strong id="EN-US_TOPIC_0000001813598724__b13408164022612">UTF-8</strong>, <strong id="EN-US_TOPIC_0000001813598724__b6820548112613">GBK</strong>, <strong id="EN-US_TOPIC_0000001813598724__b13628185314262">SQL_ASCII</strong>, and <strong id="EN-US_TOPIC_0000001813598724__b1432218565261">LATIN1</strong> encoding character sets. Creating the database with other encoding character sets may result in erroneous operations.<div class="note" id="EN-US_TOPIC_0000001813598724__note658281464617"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__p19582191414465">This operation can be performed only when there is at least one active database.</p>
</div></div>
</li></ul>
</p></li><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264253_li4970961191557"><span>Select <strong id="EN-US_TOPIC_0000001813598724__b7862123393117">Connect to the DB</strong> and click <strong id="EN-US_TOPIC_0000001813598724__b15737036103117">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264253_p86148358314">The status bar displays the status of the completed operation.</p>
<p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264253_p67060858191557">You can view the created database in the <strong id="EN-US_TOPIC_0000001813598724__b431815103213">Object Browser</strong>. The system-related schema in the server is automatically added to the new database.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598724__section17324144444314"><h4 class="sectiontitle">Connecting to the Database</h4><div class="p" id="EN-US_TOPIC_0000001813598724__p719916664520">In the <strong id="EN-US_TOPIC_0000001813598724__b14204845104115">Object Browser</strong> pane, right-click the database name and choose <strong id="EN-US_TOPIC_0000001813598724__b2199125512415">Connect to DB</strong>. The status bar displays the status of the completed operation.<div class="note" id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264796_note9290227172018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264796_p1429115272202">This operation can be performed on a disconnected database.</p>
</div></div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598724__section118585814210"><h4 class="sectiontitle">Renames a Database</h4><ol id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_ol52617682"><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_li1326316398230"><span>In the <strong id="EN-US_TOPIC_0000001813598724__b1030535118123">Object Browser</strong> pane, right-click the selected database and select <strong id="EN-US_TOPIC_0000001813598724__b6942556124">Rename Database</strong>.</span><p><div class="note" id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_note9290227172018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_p1429115272202">This operation can be performed on a disconnected database.</p>
</div></div>
<p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_p186378222577">The <strong id="EN-US_TOPIC_0000001813598724__b633921317131">Rename Database</strong> dialog box is displayed, prompting you to provide the information required for renaming the database.</p>
</p></li><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_li544761915710"><span>Enter a new database name. Select the <strong id="EN-US_TOPIC_0000001813598724__b1421273741314">Connect to the DB</strong> check box and click <strong id="EN-US_TOPIC_0000001813598724__b1944974016132">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264765_p48165881">A confirmation dialog box is displayed, promoting you to confirm the renaming operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598724__section61561548194015"><h4 class="sectiontitle">Disconnecting from a Database</h4><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264463_p185292101458">You can disconnect all databases or a specified database under a connection by using the disconnection function.</p>
<ol id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264463_ol19137160"><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264463_li38016717"><span>In the <strong id="EN-US_TOPIC_0000001813598724__b19014581448921">Object Browser</strong> pane, right-click the selected the <strong id="EN-US_TOPIC_0000001813598724__b17253803038921">Databases</strong> group and select <strong id="EN-US_TOPIC_0000001813598724__b4182349488921">Disconnect All</strong>. This will disconnect all the databases under the connection.</span><p><p id="EN-US_TOPIC_0000001813598724__p136321916134211"><span><img id="EN-US_TOPIC_0000001813598724__image43691510420" src="figure/en-us_image_0000001860199253.png"></span></p>
<div class="p" id="EN-US_TOPIC_0000001813598724__p144271357192410"><div class="note" id="EN-US_TOPIC_0000001813598724__note33731314104212"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__p33731014154217">This operation can be performed only when there is at least one active database.</p>
</div></div>
</div>
<p class="figure" id="EN-US_TOPIC_0000001813598724__p15373111444218">A confirmation dialog box is displayed, prompting you to confirm the disconnection operation.</p>
</p></li><li id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264849_li189699588235"><span>In the <strong id="EN-US_TOPIC_0000001813598724__b792201919276">Object Browser</strong> pane, right-click the selected database name and select <strong id="EN-US_TOPIC_0000001813598724__b992331972711">Disconnect from DB</strong>.</span><p><p id="EN-US_TOPIC_0000001813598724__p17957351124212"><span><img id="EN-US_TOPIC_0000001813598724__image1714235044211" src="figure/en-us_image_0000001813439392.png"></span></p>
<div class="p" id="EN-US_TOPIC_0000001813598724__p185514832516"><div class="note" id="EN-US_TOPIC_0000001813598724__note18581204944217"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__p19581134918426">This operation can be performed only on the primary database.</p>
</div></div>
</div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598724__section1896932163717"><h4 class="sectiontitle">Dropping a Database</h4><p id="EN-US_TOPIC_0000001813598724__p183031942173911">In the <strong id="EN-US_TOPIC_0000001813598724__b1198118306285">Object Browser</strong> pane, right-click the selected database and select <strong id="EN-US_TOPIC_0000001813598724__b9485939152819">Drop Database</strong>. A confirmation dialog box is displayed, asking you whether to delete the database.</p>
<p id="EN-US_TOPIC_0000001813598724__p115178591390"><span><img id="EN-US_TOPIC_0000001813598724__image1065793111403" src="figure/en-us_image_0000001813599180.png"></span></p>
<div class="p" id="EN-US_TOPIC_0000001813598724__p184102581263"><div class="note" id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264752_note9290227172018"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264752_p1429115272202">This operation can be performed on a disconnected database.</p>
</div></div>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598724__section443822715352"><h4 class="sectiontitle">Viewing Data Properties</h4><p id="EN-US_TOPIC_0000001813598724__p956314471368">Right-click the selected database and select <strong id="EN-US_TOPIC_0000001813598724__b52801720103016">Properties</strong>. The status bar displays the status of the completed operation.</p>
<p id="EN-US_TOPIC_0000001813598724__p189240531367"><span><img id="EN-US_TOPIC_0000001813598724__image27360953712" src="figure/en-us_image_0000001813599176.png"></span></p>
<p id="EN-US_TOPIC_0000001813598724__p1317274119271"></p>
<p id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264208_p202202033288">The properties of the selected database are displayed.</p>
<p id="EN-US_TOPIC_0000001813598724__p19797154513610"><span><img id="EN-US_TOPIC_0000001813598724__image1148182617373" src="figure/en-us_image_0000001860199237.png" width="518.7" height="181.43859999999998" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001813598724__p569715102813"></p>
<div class="note" id="EN-US_TOPIC_0000001813598724__en-us_topic_0185264208_note13220537280"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001813598724__ul931815347365"><li id="EN-US_TOPIC_0000001813598724__li0318834133619">This operation can be performed only when there is at least one active database.</li><li id="EN-US_TOPIC_0000001813598724__li113409361364">If the property of an opened database is modified, then refresh and open the properties of the database again to view the updated information on the same opened window.</li></ul>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_012.html">Database Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,23 @@
<a name="EN-US_TOPIC_0000001813439196"></a><a name="EN-US_TOPIC_0000001813439196"></a>
<h1 class="topictitle1">Table Management</h1>
<div id="body1584526252525"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_017.html">Creating a Regular Table</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_018.html">Creating a Partitioned Table</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_98.html">Managing Table Data</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_020.html">Editing Temporary Tables</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_021.html">Creating a Foreign Table</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_012.html">Database Management</a></div>
</div>
</div>

View File

@ -0,0 +1,21 @@
<a name="EN-US_TOPIC_0000001860198601"></a><a name="EN-US_TOPIC_0000001860198601"></a>
<h1 class="topictitle1">Creating a Regular Table</h1>
<div id="body1584526252525"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_72.html">Defining a Regular Table</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_73.html">Managing Columns</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_74.html">Managing Constraints</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_75.html">Managing Indexes</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_016.html">Table Management</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
<a name="EN-US_TOPIC_0000001860318829"></a><a name="EN-US_TOPIC_0000001860318829"></a>
<h1 class="topictitle1">Editing Temporary Tables</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_p12741154010512">Data Studio allows you to edit temporary tables. Temporary tables are deleted automatically when you close the connection that was used to create the table.</p>
<div class="notice" id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_note13585727155116"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_p166020271511">Ensure that connection reuse is enabled when you use edit temporary tables in <strong id="EN-US_TOPIC_0000001860318829__b154199081">SQL Terminal</strong>. For details, see <a href="DWS_DS_037.html">Managing Connections in the SQL Terminal</a>.</p>
</div></div>
<p id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_p1266242785111">Follow the steps to edit a temporary table:</p>
<ol id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_ol56621327145111"><li id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_li0662827185112"><span>Execute a query on the temporary table.</span><p><p id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_p26621127135120">The <strong id="EN-US_TOPIC_0000001860318829__b44910513351">Result</strong> tab displays the results of the SQL query along with the query statement executed.</p>
</p></li><li id="EN-US_TOPIC_0000001860318829__en-us_topic_0185264258_li1662172714517"><span>Edit the temporary table on the <strong id="EN-US_TOPIC_0000001860318829__b19662193213510">Result</strong> tab. You can click to add, delete, modify, or cancel modifications to edit the temporary table.</span><p><p id="EN-US_TOPIC_0000001860318829__p391013294113"><span><img id="EN-US_TOPIC_0000001860318829__image49291326616" src="figure/en-us_image_0000001860319153.png" width="492.1" height="129.6484" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001860318829__p16926175118281"></p>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_016.html">Table Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

@ -0,0 +1,14 @@
<a name="EN-US_TOPIC_0000001813598992"></a><a name="EN-US_TOPIC_0000001813598992"></a>
<h1 class="topictitle1">Creating a Foreign Table</h1>
<div id="body1584526252526"><div class="notice" id="EN-US_TOPIC_0000001813598992__note1932316691012"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001813598992__p1232317691012">Currently, Data Studio does not support foreign table creation. You can only view foreign tables.</p>
</div></div>
<p id="EN-US_TOPIC_0000001813598992__en-us_topic_0185264388_p101155499129">Foreign tables created using query execution in <strong id="EN-US_TOPIC_0000001813598992__b10860174714449">SQL Terminal</strong> or any other tool can be viewed in the <strong id="EN-US_TOPIC_0000001813598992__b9860134710446">Object</strong> browser after refresh.</p>
<p id="EN-US_TOPIC_0000001813598992__p5456104861116">Right-click the database, schema, or foreign table group and choose <strong id="EN-US_TOPIC_0000001813598992__b21091982460">Refresh</strong> from the shortcut menu to view the created foreign table.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_016.html">Table Management</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
<a name="EN-US_TOPIC_0000001860198753"></a><a name="EN-US_TOPIC_0000001860198753"></a>
<h1 class="topictitle1">Sequence Management</h1>
<div id="body1584526252528"><div class="section" id="EN-US_TOPIC_0000001860198753__section13475528329"><h4 class="sectiontitle">Creating a Sequence</h4><ol id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_ol39613592028"><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li185623420712"><span>In the <strong id="EN-US_TOPIC_0000001860198753__b777220242044">Object Browser</strong> pane, right-click <strong id="EN-US_TOPIC_0000001860198753__b55561740646">Sequences</strong> under the particular schema where you want to create the sequence and select <strong id="EN-US_TOPIC_0000001860198753__b028245412417">Create Sequence</strong>. The <strong id="EN-US_TOPIC_0000001860198753__b10931526650">Create New Sequence</strong> dialog box is displayed.</span><p><p id="EN-US_TOPIC_0000001860198753__p6624185112220"><span><img id="EN-US_TOPIC_0000001860198753__image18661615438" src="figure/en-us_image_0000001813599152.png"></span></p>
<p id="EN-US_TOPIC_0000001860198753__p53391214144015"></p>
</p></li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li20971059226"><span>Provide information to create a sequence:</span><p><ol type="a" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_ol485234013913"><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li1585212405910">Enter a name in the <strong id="EN-US_TOPIC_0000001860198753__b198100141568">Sequence Name</strong> field.</li></ol>
<div class="note" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_note9920142154518"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_p492114224516">Select the <strong id="EN-US_TOPIC_0000001860198753__b611695912611">Case</strong> check box to retain the capitalization of the text entered in <strong id="EN-US_TOPIC_0000001860198753__b8906172473">Sequence Name</strong> field. For example, if the entered sequence name is <strong id="EN-US_TOPIC_0000001860198753__b15587114176">Employee</strong>, then the sequence name is created as "Employee".</p>
</div></div>
<ol type="a" start="2" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_ol13851124016919"><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li118471740896">Enter the minimum value in the <strong id="EN-US_TOPIC_0000001860198753__b61085521815">Minimum Value</strong> field.</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li13847940992">Enter the increase step value in the <strong id="EN-US_TOPIC_0000001860198753__b455615200915">Increment By</strong> field.</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li20848640499">Enter maximum value in the <strong id="EN-US_TOPIC_0000001860198753__b555118391192">Maximum Value</strong> field.<div class="note" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_note195896349106"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_p1459016344105">The maximum and minimum value should be between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807.</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li48495409914">Enter the start value of the sequence in <strong id="EN-US_TOPIC_0000001860198753__b7151227171010">Start Value</strong> field.</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li1784920409914">Enter the cache information in <strong id="EN-US_TOPIC_0000001860198753__b575014641012">Cache</strong> field. The cache value denotes the number of sequences stored in the memory for quick access.</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li1885011409915">Select the <strong id="EN-US_TOPIC_0000001860198753__b595633013115">Cycle</strong> field to recycle sequences after the number of sequences reaches either the maximum or minimum value.<div class="note" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_note168467550136"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_p158461455151319">The schema name auto-populates in the <strong id="EN-US_TOPIC_0000001860198753__b10367114910115">Schema</strong> field.</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li585118402910">Select the table from the <strong id="EN-US_TOPIC_0000001860198753__b31073914129">Table</strong> drop-down list.</li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li1485111400915">Select the column from the <strong id="EN-US_TOPIC_0000001860198753__b16812173117124">Column</strong> drop-down list.</li></ol>
</p></li><li id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_li165071542135019"><span>Click <strong id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_b14433102011482">Finish</strong>.</span><p><div class="p" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_p89726217518">The status bar displays the status of the completed operation.<div class="note" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_note112661910154915"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264927_p826721064910">On the <strong id="EN-US_TOPIC_0000001860198753__b1580193318188">SQL Preview</strong> tab, you can view the SQL query automatically generated for the inputs provided.</p>
</div></div>
</div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001860198753__section16262725876"><h4 class="sectiontitle">Support for Sequence DDL</h4><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p16885165644515">Data Studio allows you to display sequence DDL and export sequence DDL, including <strong id="EN-US_TOPIC_0000001860198753__b1457012139313">Show DDL</strong>, <strong id="EN-US_TOPIC_0000001860198753__b319114171336">Export DDL</strong>, and <strong id="EN-US_TOPIC_0000001860198753__b540511251633">Export DDL and Data</strong>.</p>
<p id="EN-US_TOPIC_0000001860198753__p750903111815">In the <strong id="EN-US_TOPIC_0000001860198753__b15588175985519">Object Browser</strong> pane, right-click the selected table.</p>
<p id="EN-US_TOPIC_0000001860198753__p18597163320810">To check DDL statement, choose <strong id="EN-US_TOPIC_0000001860198753__b1725913198569">Show DDL</strong>.</p>
<p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p9939192171511">To export DDL statements, choose <strong id="EN-US_TOPIC_0000001860198753__b10302154005616">Export DDL</strong>.</p>
<p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p11939142151510">To export DDL and SELECT statements, choose <strong id="EN-US_TOPIC_0000001860198753__b1283820165714">Export DDL and Data</strong></p>
<p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p939154181613">The procedure is shown in the following figure.</p>
<p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p14148314155213"><span><img id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_image3147131475220" src="figure/en-us_image_0000001813439364.png"></span></p>
<p id="EN-US_TOPIC_0000001860198753__p1422205254416"></p>
<div class="note" id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_note1880132922017"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198753__en-us_topic_0185264735_p17816294201">Only the sequence owner, system administrator, or a user who has the select permission on the sequence can perform the preceding operations.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001860198753__section47211761196"><h4 class="sectiontitle">Granting/Revoking a Privilege</h4><ol id="EN-US_TOPIC_0000001860198753__ol1992165919"><li id="EN-US_TOPIC_0000001860198753__li12951610913"><span>Right-click selected sequence and select <strong id="EN-US_TOPIC_0000001860198753__b497404872212">Grant/Revoke</strong>. The <strong id="EN-US_TOPIC_0000001860198753__b1490167910">Grant/Revoke</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001860198753__li12915161912"><span>Select the objects to grant/revoke privilege from the <strong id="EN-US_TOPIC_0000001860198753__b45699525581225">Object Selection</strong> tab and click <strong id="EN-US_TOPIC_0000001860198753__b207840308481225">Next</strong>.</span></li><li id="EN-US_TOPIC_0000001860198753__li131014161391"><span>Select the <strong id="EN-US_TOPIC_0000001860198753__b1623720571227">role</strong> from the Role drop-down list in the <strong id="EN-US_TOPIC_0000001860198753__b1523711578227">Privilege Selection</strong> tab. Select <strong id="EN-US_TOPIC_0000001860198753__b202371157142215">Grant/Revoke</strong> in the <strong id="EN-US_TOPIC_0000001860198753__b192381557172216">Privilege Selection</strong> tab.</span></li><li id="EN-US_TOPIC_0000001860198753__li91010162916"><span>On the <strong id="EN-US_TOPIC_0000001860198753__b2331472315">SQL Preview</strong> tab, you can check the automatically generated SQL query.</span></li><li id="EN-US_TOPIC_0000001860198753__li1119167912"><span>Click <strong id="EN-US_TOPIC_0000001860198753__b101116164912">Finish</strong>.</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001860198753__section20424139111016"><h4 class="sectiontitle">Dropping a Sequence</h4><p id="EN-US_TOPIC_0000001860198753__p9390172385110">Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001860198753__b208057772413">Drop Sequence</strong>. The <strong id="EN-US_TOPIC_0000001860198753__b1849617272243">Drop Sequence</strong> dialog box is displayed. Click <strong id="EN-US_TOPIC_0000001860198753__b741614548242">Yes</strong> to drop the sequence.</p>
<p id="EN-US_TOPIC_0000001860198753__p11837453516">Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001860198753__b131625243255">Drop Sequence Cascade</strong>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_012.html">Database Management</a></div>
</div>
</div>

View File

@ -0,0 +1,32 @@
<a name="EN-US_TOPIC_0000001813598668"></a><a name="EN-US_TOPIC_0000001813598668"></a>
<h1 class="topictitle1">Users/Roles</h1>
<div id="body1584526252529"><div class="section" id="EN-US_TOPIC_0000001813598668__section5783182373617"><h4 class="sectiontitle">Creating a User/Role</h4><p id="EN-US_TOPIC_0000001813598668__en-us_topic_0185264337_p158414053416">A database is used by many users, and the users are grouped for management convenience. A database role represents a database user or a group of database users.</p>
<p id="EN-US_TOPIC_0000001813598668__en-us_topic_0185264337_p65702525297">Users and roles have similar concepts in databases. In practice, you are advised to use a role to manage permissions rather than to access databases.</p>
<ul id="EN-US_TOPIC_0000001813598668__ul125888196539"><li id="EN-US_TOPIC_0000001813598668__li85881919155319"><strong id="EN-US_TOPIC_0000001813598668__b10165182119375">Users</strong>: They are set of database users. These users are different from operating system users. These users can assign permissions to other users to access database objects.</li><li id="EN-US_TOPIC_0000001813598668__li1758871945315"><strong id="EN-US_TOPIC_0000001813598668__b59311222143720">Role</strong>: This can be considered as a user or group based on the usage. Roles are at cluster level, and hence applicable to all databases in the cluster. A role is a cluster-level definition and applies to all databases in a cluster.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598668__section2647133113718"><h4 class="sectiontitle">Dropping a User/Role</h4><p id="EN-US_TOPIC_0000001813598668__p1218572117381">Right-click the selected user/role and select <strong id="EN-US_TOPIC_0000001813598668__b919317915381">Drop User/Role</strong>.</p>
<p id="EN-US_TOPIC_0000001813598668__p1464713320377"><span><img id="EN-US_TOPIC_0000001813598668__image1474019171397" src="figure/en-us_image_0000001813599128.png"></span></p>
<p id="EN-US_TOPIC_0000001813598668__p1364783353718"></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598668__section1482154623720"><h4 class="sectiontitle">Viewing/Editing User/Role Properties</h4><p id="EN-US_TOPIC_0000001813598668__p156391962116">Right-click the selected user/role and select <strong id="EN-US_TOPIC_0000001813598668__b19723534104011">Properties</strong>.</p>
<p id="EN-US_TOPIC_0000001813598668__p482184619375">Data Studio displays the properties (General, Privilege, and Membership) of the selected user/role in different tabs. Editing of properties can be performed. OID is a non-editable field.</p>
<p id="EN-US_TOPIC_0000001813598668__p8292151910131"><span><img id="EN-US_TOPIC_0000001813598668__image208616229155" src="figure/en-us_image_0000001860319045.png" width="492.1" height="136.5777" title="Click to enlarge" class="imgResize"></span></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598668__section10263757193713"><h4 class="sectiontitle">Viewing the User/Role DDL</h4><p id="EN-US_TOPIC_0000001813598668__p1926581851619">Right-click the selected user/role and select <strong id="EN-US_TOPIC_0000001813598668__b69132049164113">Show DDL</strong>.</p>
<p id="EN-US_TOPIC_0000001813598668__p12627576373">The user/role DDL is displayed in a new <strong id="EN-US_TOPIC_0000001813598668__b627182794217">SQL Terminal</strong> tab. You must refresh the <strong id="EN-US_TOPIC_0000001813598668__b18720151317421">Object Browser</strong> to view the latest DDL.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_012.html">Database Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

@ -0,0 +1,37 @@
<a name="EN-US_TOPIC_0000001813598884"></a><a name="EN-US_TOPIC_0000001813598884"></a>
<h1 class="topictitle1">SQL Terminal Management</h1>
<div id="body1584526252529"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_026.html">Opening Multiple SQL Terminal Tabs</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_027.html">Managing the SQL Query Execution History</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_028.html">Opening and Saving SQL Scripts</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_029.html">Viewing Table Properties, PL/SQL Functions/Procedures on the SQL Terminal Page</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_030.html">Terminating an Ongoing SQL Query</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_031.html">Formatting of SQL Queries</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_032.html">Selecting a DB Object in the SQL Terminal</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_033.html">Viewing the Execution Plan and Costs</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_034.html">Viewing the Query Execution Plan and Cost Graphically</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_035.html">Working with SQL Terminals</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_036.html">Exporting Query Results</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_037.html">Managing Connections in the SQL Terminal</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,64 @@
<a name="EN-US_TOPIC_0000001813598768"></a><a name="EN-US_TOPIC_0000001813598768"></a>
<h1 class="topictitle1">Managing the SQL Query Execution History</h1>
<div id="body1584526252529"><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p35191048">Data Studio allows viewing and managing frequently used SQL queries. The history of executed SQL queries is maintained only for the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b2905617223547">SQL Terminal</strong>.</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol320174758"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li16362779511"><span>On the <strong id="EN-US_TOPIC_0000001813598768__b20143134112313">SQL Terminal</strong> tab page, click <strong id="EN-US_TOPIC_0000001813598768__b337110436231">SQL History.</strong> The <strong id="EN-US_TOPIC_0000001813598768__b9696102922310">SQL History</strong> dialog box is displayed.</span><p><p id="EN-US_TOPIC_0000001813598768__p138902598320"><span><img id="EN-US_TOPIC_0000001813598768__image1260013311956" src="figure/en-us_image_0000001813599184.png" width="492.1" height="80.8108" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001813598768__p1623843011146"></p>
</p></li></ol>
<div class="note" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_note33979931"><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_0000001813598768__en-us_topic_0185264358_p39948792">SQL history scripts are not encrypted.</p>
</div></div>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p37383929">The number of queries saved in the <strong id="EN-US_TOPIC_0000001813598768__b620935313498">SQL History</strong> dialog box is based on the value defined in <strong id="EN-US_TOPIC_0000001813598768__b120985374913">Preferences &gt; Editor &gt; SQL </strong><strong id="EN-US_TOPIC_0000001813598768__b7209105344917">History</strong> pane. Refer to the <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a> section to modify the SQL History count. Data Studio overwrites the older queries into the SQL history after the list is full. The executed query is automatically stored in the list.</p>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p32432801134124">The <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b3867312518611">SQL History</strong> dialog box has the following columns:</p>
<ul id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ul911047"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li43916760"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b4586012918114">Pin Status</strong> - Displays the pinned status of the queries. Pinned queries will always show on the top and it will not be deleted from the history even when the list is full.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li487831"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b21932360181111">SQL Statement</strong> - Displays the SQL query. The number of characters for an SQL query displayed in the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b1570817018853">SQL Statement</strong> column is based on the number defined in <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b98019566214">Preferences &gt; Editor &gt; SQL </strong><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b4802105610215">History</strong> pane. Refer to the <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a> section to modify the number of characters for a query.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li39514346"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b41299017181117">Number of Records</strong> - Displays the number of records fetched by the SQL query.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li46545466"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b13184781181324">Start Time</strong> - Displays the time the query execution was started.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li12086382"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b57484040181330">Execution Time</strong> - Displays the time taken to execute the query.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li39472879"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b2552962181616">Database Name</strong> - Displays the name of the database.</li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li43186596"><strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b4091068181338">Execution Status</strong> - Displays the execution status of the query as <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b42517832181021">Success</strong> or <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b21392392181021">Failure</strong>.</li></ul>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p8199431">Deleting the connection profile deletes the history. If the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b611426323023">SQL History</strong> dialog box is closed, the query is not removed from the list.</p>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p4696429">You can perform the following operations in the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b467110890557">SQL History</strong> dialog box:</p>
<ul id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ul42267867"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li619814411328"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314809">Loading an SQL Query Into the SQL Terminal</a></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li4297671511342"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section29561677225829">Loading Multiple SQL Queries Into the SQL Terminal</a></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li587321941141"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section41363205225852">Deleting an SQL Query</a></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li1734002611414"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section3787436422590">Deleting all SQL Queries</a></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li4695545211423"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314785">Pinning an SQL Query</a></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li6023740211431"><a href="#EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section62690964225923">Unpinning an SQL Query</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314809"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314809"></a><a name="en-us_topic_0185264358_ref471314809"></a><h4 class="sectiontitle">Loading an SQL Query Into the SQL Terminal</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p29602433">Follow the steps to load the SQL query into the SQL terminal:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol48986840"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li38228382"><span>Select the required query and click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image257215750433" src="figure/en-us_image_0000001860319669.jpg" height="24.9375" width="22.942500000000003" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p9491260">The query is appended to the cursor position in the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b2309203604341">SQL Terminal</strong>.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section29561677225829"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section29561677225829"></a><a name="en-us_topic_0185264358_section29561677225829"></a><h4 class="sectiontitle">Loading Multiple SQL Queries Into the SQL Terminal</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p6915674">The <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b1857705004812">Load in SQL</strong> <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b14240444154012">Terminal and close History</strong> button loads selected queries into the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b521702904145">SQL Terminal</strong> and closes the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b6612224904215">SQL History</strong> dialog box.</p>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p8149778">Follow the steps to load selected SQL queries into the SQL terminal:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol56152285"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li35608518"><span>Select the required queries.</span></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li52041212"><span>Click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image4769516904921" src="figure/en-us_image_0000001813599736.jpg" height="20.9475" width="20.9475" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p54588632">The queries are appended to the cursor position in the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b511614260490">SQL Terminal</strong>.</p>
</p></li></ol>
<div class="note" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_note6922452132615"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p1315255491312">If you continue the execution on error, then each statement in the terminal will be running as a scheduled job and runs one after the other. The execution status is updated on the console and job progress is displayed. When the time difference between Job Execution, Progress Bar Update and Console Update is very minimal, you will not be able to open the progress bar and stop the execution. In such scenarios you have to close the SQL terminal to the terminate execution.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section132578461665"><h4 class="sectiontitle">Loading More Records</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p117083321084">Regarding to load more data of result tab, you have to scroll down to bottom in order to load more data, which is inconvenient in some use cases. Currently, DS supports a loading more record button which makes it easier to trigger the loading more data action.</p>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p11121122718117">Follow the steps to load more records</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol12211450131519"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li942519214815"><span>Select the required queries and click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image122211313282" src="figure/en-us_image_0000001813439396.png"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p144010144274">List all the required records.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section41363205225852"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section41363205225852"></a><a name="en-us_topic_0185264358_section41363205225852"></a><h4 class="sectiontitle">Deleting an SQL Query</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p66665241">Follow the steps to delete a SQL query from the SQL history list:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol31175435"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li12143461"><span>Select the required query and click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image3293713805028" src="figure/en-us_image_0000001813599732.jpg" height="23.94" width="18.9525" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p44096323">A confirmation pop up window is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li61322592"><span>Click <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b30641655154726">OK</strong>.</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section3787436422590"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section3787436422590"></a><a name="en-us_topic_0185264358_section3787436422590"></a><h4 class="sectiontitle">Deleting all SQL Queries</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p9666612">Follow the steps to delete all SQL queries from the SQL History list:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol44798103"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li529748"><span>Click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image4662572805130" src="figure/en-us_image_0000001860199813.jpg" height="23.94" width="20.9475" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p42909617">A confirmation pop up window is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li50642235"><span>Click <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b3573786154721">OK</strong>.</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314785"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ref471314785"></a><a name="en-us_topic_0185264358_ref471314785"></a><h4 class="sectiontitle">Pinning an SQL Query</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p8314412">You can pin queries that you do not want Data Studio to delete automatically from the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b5461759923814">SQL History</strong>. You can pin a maximum of 50 queries. Pinned queries are displayed at the top of the list. The value set in SQL history count does not affect the pinned queries. Refer to <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a> for additional information on SQL history count.</p>
<div class="note" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_note2378778"><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_0000001813598768__en-us_topic_0185264358_p21409010">The pinned queries appear on top once the <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b5618646916313_1">SQL History</strong> window is closed and re-opened.</p>
</div></div>
<p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p5668011">Follow the steps to pin a SQL query:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol51012105"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li56455762"><span>Select the required SQL query and click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image5678459021288" src="figure/en-us_image_0000001813439956.jpg" height="17.955000000000002" width="18.9525" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p9514038">The <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b368082305310">Pin Status</strong> column displays the pinned status of the query.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section62690964225923"><a name="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_section62690964225923"></a><a name="en-us_topic_0185264358_section62690964225923"></a><h4 class="sectiontitle">Unpinning an SQL Query</h4><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p23521075">Follow the steps to unpin a SQL query:</p>
<ol id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_ol10363091"><li id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_li26158957"><span>Select the required SQL query and click <span><img id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_image48456866212823" src="figure/en-us_image_0000001813439952.jpg" height="17.955000000000002" width="18.9525" title="Click to enlarge" class="imgResize"></span>.</span><p><p id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_p38500800">The <strong id="EN-US_TOPIC_0000001813598768__en-us_topic_0185264358_b2760088705316">Pin Status</strong> column displays the unpinned status of the query.</p>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

@ -0,0 +1,38 @@
<a name="EN-US_TOPIC_0000001860198725"></a><a name="EN-US_TOPIC_0000001860198725"></a>
<h1 class="topictitle1">Opening and Saving SQL Scripts</h1>
<div id="body1584526252529"><div class="section" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_section171361011182215"><h4 class="sectiontitle">Opening an SQL Script</h4><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p3942429">Follow the steps to open an SQL script:</p>
<ol id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ol35481869"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li1814025993618"><span>Choose <strong id="EN-US_TOPIC_0000001860198725__b1611993519258">File</strong> &gt; <strong id="EN-US_TOPIC_0000001860198725__b945583702511">Open</strong> from the main menu. Alternatively, click <strong id="EN-US_TOPIC_0000001860198725__b1016915262614">Open</strong> on the toolbar or right-click the <strong id="EN-US_TOPIC_0000001860198725__b1523214952613">SQL Terminal</strong> and select <strong id="EN-US_TOPIC_0000001860198725__b99511311182612">Open</strong>.</span><p><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p17382100173719">If the SQL Terminal has existing content, then there will be an option to overwrite the existing content or append content to it.</p>
</p></li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li32875415369"><span>The Open dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li2417790911166"><span>In <strong id="EN-US_TOPIC_0000001860198725__b15952183542818">Open</strong> dialog box, select the SQL file to import and click <strong id="EN-US_TOPIC_0000001860198725__b799524116282">Open</strong>.</span><p><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p89511710163619">The selected SQL script is opened as a <strong id="EN-US_TOPIC_0000001860198725__b1383995922810">File Terminal</strong>.</p>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p110110490293">The icons on the file terminal tab are different from those on the <strong id="EN-US_TOPIC_0000001860198725__b17273457553">SQL terminal</strong> tab. When you move the mouse cursor over the source file, corresponding database connection will be displayed on <strong id="EN-US_TOPIC_0000001860198725__b193351951182913">File Terminal</strong>.</p>
</p></li></ol>
<div class="note" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_note127611408320"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ul95902419599"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li1959015419591">The encoding type of the SQL file must match the encoding type specified in <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a>.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li85907410591">Label of the file terminal will start with asterisk(*) if any of its content is edited. Dirty flag is removed once the file terminal is saved.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li76788246339">File Terminals cannot be renamed. One terminal is always mapped to one Source Script File, but one script can be opened in multiple terminals.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li9130123418261">You can open SQL scripts only on SQL Terminals.</li></ul>
</div></div>
</div>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p179381431153513">Data Studio allows you to save and open SQL scripts in the SQL Terminal. After saving the changes, SQL Terminal will be changed to a File Terminal.</p>
<div class="section" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_section6440164084417"><h4 class="sectiontitle">Saving an SQL Script</h4><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p17509173264212">The <strong id="EN-US_TOPIC_0000001860198725__b2221216173217">Save</strong> option saves the File Terminal content to the associated file.</p>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p46107371">Follow the steps to save an SQL script:</p>
<ol id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ol12313157"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li168515402033"><span>Perform any of the following operations:</span><p><ul id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ul1516835410916"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li161681154393">Choose File &gt; Save from the main menu.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li4168854099">Press "Ctrl + S" to save the SQL terminal content. (This operation can be performed to save the file terminal content.)</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li41699541197">Click <strong id="EN-US_TOPIC_0000001860198725__b10844323113311">Save</strong> on the toolbar or right-click the SQL Terminal and select <strong id="EN-US_TOPIC_0000001860198725__b1493392753312">Save</strong>.</li></ul>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p611811521236">The <strong id="EN-US_TOPIC_0000001860198725__b742101317339">Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li15691113193117"><span>Click <strong id="EN-US_TOPIC_0000001860198725__b59111824163411">OK</strong>.</span><p><div class="p" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p6474161684819">Data Studio displays the status of the operation in the status bar.<div class="note" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_note1550514155483"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ul550571515481"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li175058158487">The script is saved as an SQL file. Data Studio sets the read/write permission for the saved SQL file. To ensure security, you must set the read/write permissions for folders.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li1950581511481">When a change is made in a file and if that associated file is unavailable, it will trigger the <strong id="EN-US_TOPIC_0000001860198725__b637312134357">Save As</strong> option.<ul id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ul728517146557"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li1510553175318">In any case, if saving of the source file is failed due to some reasons, then user is prompted with the <strong id="EN-US_TOPIC_0000001860198725__b23837551354">Save As</strong> option to save the content as a new source file. If you choose not to save (that is cancelling <strong id="EN-US_TOPIC_0000001860198725__b56119673613">Save As</strong>), then File Terminal gets converted into an SQL Terminal.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li232216118208">The changes made to File Terminals are not <strong id="EN-US_TOPIC_0000001860198725__b15404172819364">Auto Saved</strong>.</li></ul>
</li></ul>
</div></div>
</div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_section1197648113310"><h4 class="sectiontitle">Saving an SQL Script in New File</h4><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p137202513338">The<strong id="EN-US_TOPIC_0000001860198725__b65482052173616"> Save As</strong> option saves the terminal content to a new file.</p>
</div>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p1993285913217">Follow the steps to save an SQL script:</p>
<ol id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ol8705141910340"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li158971953219"><span>Perform any of the following operations:</span><p><ul id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_ul84816317220"><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li15481739223">Choose <strong id="EN-US_TOPIC_0000001860198725__b234632743711">File</strong> &gt; <strong id="EN-US_TOPIC_0000001860198725__b734732743714">Save as</strong>.</li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li10489314227">Press Ctrl+Alt+S. (This operation supports saving SQL terminal contents and file terminal contents.)</li></ul>
<p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p913794712236">The <strong id="EN-US_TOPIC_0000001860198725__b14432194617379">Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li3556105515343"><span>Click <strong id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_b016511135155">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p576012462508">The <strong id="EN-US_TOPIC_0000001860198725__b18430451382">Save As</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_li85989579223"><span>Select the location to save the script and click <strong id="EN-US_TOPIC_0000001860198725__b7892174111399">Save</strong>.</span></li></ol>
<div class="note" id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_note135562400221"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198725__en-us_topic_0185264432_p3310135183216">When there are unsaved changes in File Terminals, user will be given an option to save or cancel on graceful exit of data studio.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>

View File

@ -0,0 +1,35 @@
<a name="EN-US_TOPIC_0000001860318905"></a><a name="EN-US_TOPIC_0000001860318905"></a>
<h1 class="topictitle1">Viewing Table Properties, PL/SQL Functions/Procedures on the SQL Terminal Page</h1>
<div id="body1584526252529"><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p30695458">You can view table properties and functions/procedures in Data Studio.</p>
<p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p7823668">Perform the following steps to view table properties:</p>
<ol id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_ol3304150"><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li57570525"><span>Press <strong id="EN-US_TOPIC_0000001860318905__b9657132394115">Ctrl</strong> and move the cursor over the table name.</span><p><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p98691835105515"><span><img id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_image148691357557" src="figure/en-us_image_0000001860319129.jpg" height="96.75750000000001" width="523.6875" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li31533686"><span>Click the highlighted table name. The attributes of the selected table are displayed in Data Studio.</span><p><div class="note" id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_note25200320"><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_0000001860318905__en-us_topic_0185264827_p25476288">All table properties are read-only.</p>
</div></div>
</p></li></ol>
<p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p29737353">To view a function or procedure, perform the following steps:</p>
<ol id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_ol66309591"><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li27960000"><span>Press <strong id="EN-US_TOPIC_0000001860318905__b3677183818417">Ctrl</strong> and move the cursor over the function or procedure name.</span><p><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p160357105615"><span><img id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_image1460316715617" src="figure/en-us_image_0000001860199289.jpg"></span></p>
</p></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li37035725"><span>Click the highlighted function or procedure name. Data Studio displays the selected function or procedure on the <strong id="EN-US_TOPIC_0000001860318905__b4148143124117">PL/SQL Viewer</strong> page.</span></li></ol>
<p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p10593122173417">Perform the following steps to check view properties:</p>
<ol id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_ol45931322123414"><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li3593132212345"><span>Press <strong id="EN-US_TOPIC_0000001860318905__b758044913412">Ctrl</strong> and move the cursor over the view name.</span></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li059372293412"><span>Click the highlighted view name. Data Studio displays the properties of the selected view.</span></li></ol>
<div class="section" id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_section059710483476"><h4 class="sectiontitle">Saving the File Before Closing Data Studio</h4><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p8953111914484">Before you exit, Data Studio prompts you to save the editing on the terminal.</p>
<p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p57006548158">Perform the following steps:</p>
<ol id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_ol54871313142313"><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li1548701313237"><span>Click <strong id="EN-US_TOPIC_0000001860318905__b1922918864213">Close</strong> and the <strong id="EN-US_TOPIC_0000001860318905__b16229158164212">Exit Application</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li1433612119423"><span>Click <strong id="EN-US_TOPIC_0000001860318905__b7950201111423">Graceful Exit</strong>.</span><p><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p97281917131718">In the <strong id="EN-US_TOPIC_0000001860318905__b1097681464217">Saving File Terminal</strong> dialog box, select the file terminal to be saved.</p>
</p></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li1258993784314"><span>Select the file terminal to be saved.</span></li><li id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_li37141914184414"><span>Click <strong id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_b18711043181617">OK</strong>.</span></li></ol>
</div>
<div class="note" id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_note123971846113420"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860318905__en-us_topic_0185264827_p63981465347">If you select <strong id="EN-US_TOPIC_0000001860318905__b575414214427">Force Exit</strong>, the <strong id="EN-US_TOPIC_0000001860318905__b20754192114212">Saving File Terminal</strong> dialog box will not be displayed.</p>
</div></div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,45 @@
<a name="EN-US_TOPIC_0000001860318781"></a><a name="EN-US_TOPIC_0000001860318781"></a>
<h1 class="topictitle1">Selecting a DB Object in the SQL Terminal</h1>
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p19553210">Data Studio suggests a list of possible schema names, table names and column names, and views in the SQL Terminal.</p>
<p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p41761167">Follow the steps below to select a DB object:</p>
<ol id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_ol40306186"><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li24130231"><span>Press <strong id="EN-US_TOPIC_0000001860318781__b14728662998138">Ctrl</strong> and <strong id="EN-US_TOPIC_0000001860318781__b15114111918138">Space</strong> and enter the required parent DB object name. The DB objects list is refined as you continue typing the DB object name. The DB objects list displays all DB objects of the database connected to the SQL Terminal.</span><p><p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p71605212577"><span><img id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_image191598217577" src="figure/en-us_image_0000001860199285.jpg" width="399" height="257.470976" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li10644124"><span>To select the parent DB object, use the <strong id="EN-US_TOPIC_0000001860318781__b19728744144411">Up</strong> or <strong id="EN-US_TOPIC_0000001860318781__b1643447144413">Down</strong> arrow keys and press <strong id="EN-US_TOPIC_0000001860318781__b19169050114415">Enter</strong> on the keyboard, or double-click the parent DB object.</span></li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li28688252"><span>Press <strong id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_b56867678">.</strong> to list all child DB objects.</span><p><p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p61001017155716"><span><img id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_image3100141719575" src="figure/en-us_image_0000001860319125.jpg" height="231.04001900000003" width="399" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li50368676"><span>To select the child DB object, use the <strong id="EN-US_TOPIC_0000001860318781__b1029118312459">Up</strong> or <strong id="EN-US_TOPIC_0000001860318781__b188672033164518">Down</strong> arrow keys and press <strong id="EN-US_TOPIC_0000001860318781__b1086723613451">Enter</strong> on the keyboard, or double-click the child DB object.</span><p><p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p50664905">On selection, the child DB object will be appended to the parent DB object (with a period '.').</p>
<div class="note" id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_note53330965"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_ul798811152118"><li class="text" id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li3656632316">Auto-suggest also works on keywords, data types, schema names, table names, views, and table name aliases in the same way as shown above for all schema objects that you have access.<p class="text" id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p1523103664317"><a name="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li3656632316"></a><a name="en-us_topic_0185264718_li3656632316"></a>Following is a sample query with alias objects:</p>
<div class="codecoloring" codetype="Sql" id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_screen162320369430"><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span class="normal">1</span>
<span class="normal">2</span>
<span class="normal">3</span>
<span class="normal">4</span>
<span class="normal">5</span>
<span class="normal">6</span>
<span class="normal">7</span>
<span class="normal">8</span></pre></div></td><td class="code"><div><pre><span></span><span class="k">SELECT</span>
<span class="w"> </span><span class="n">table_alias</span><span class="p">.</span><span class="o">&lt;</span><span class="n">auto</span><span class="o">-</span><span class="n">suggest</span><span class="o">&gt;</span>
<span class="k">FROM</span><span class="w"> </span><span class="n">test</span><span class="p">.</span><span class="n">t1</span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">table_alias</span>
<span class="w"> </span><span class="k">WHERE</span>
<span class="w"> </span><span class="n">table_alias</span><span class="p">.</span><span class="o">&lt;</span><span class="n">auto</span><span class="o">-</span><span class="n">suggest</span><span class="o">&gt;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">5</span>
<span class="k">GROUP</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="n">table_alias</span><span class="p">.</span><span class="o">&lt;</span><span class="n">auto</span><span class="o">-</span><span class="n">suggest</span><span class="o">&gt;</span>
<span class="k">HAVING</span><span class="w"> </span><span class="n">table_alias</span><span class="p">.</span><span class="o">&lt;</span><span class="n">auto</span><span class="o">-</span><span class="n">suggest</span><span class="o">&gt;</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">5</span>
<span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="k">table</span><span class="w"> </span><span class="k">alias</span><span class="p">.</span><span class="o">&lt;</span><span class="n">auto</span><span class="o">-</span><span class="n">suggest</span><span class="o">&gt;</span>
</pre></div></td></tr></table></div>
</div>
</li><li class="text" id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li7280126162110">A loading message may be displayed on the <strong id="EN-US_TOPIC_0000001860318781__b1614115385811">SQL Terminal</strong> in the following scenarios:<ul id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_ul1937917819582"><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li238068135811">The object is not loaded due to the value mentioned in the <strong id="EN-US_TOPIC_0000001860318781__b10309511124719">Load Limit</strong> field. For details, see <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a>.</li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li1538516855811">The objects that are already added to <strong id="EN-US_TOPIC_0000001860318781__b9724920588139">Exclude</strong> will not be loaded. For details, see <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a>.</li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li19392881584">There is a delay in fetching the object from the server.</li></ul>
</li><li id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li1616619247196">If there are objects with the same name in different case, then auto-suggest will display child objects of both parent objects.<p id="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_p2583101083917"><a name="EN-US_TOPIC_0000001860318781__en-us_topic_0185264718_li1616619247196"></a><a name="en-us_topic_0185264718_li1616619247196"></a>Example: If there are two schemas with the name <strong id="EN-US_TOPIC_0000001860318781__b18842105845814">public</strong> and <strong id="EN-US_TOPIC_0000001860318781__b1984213585589">PUBLIC</strong>, then all child objects for both these schemas will be displayed.</p>
</li></ul>
</div></div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
<a name="EN-US_TOPIC_0000001860318913"></a><a name="EN-US_TOPIC_0000001860318913"></a>
<h1 class="topictitle1">Exporting Query Results</h1>
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p46158236">You can export the results of an SQL query into a CSV, Text or Binary file.</p>
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p12770940">This section contains the following topics:</p>
<ul id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul1148072013358"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li1448022017354"><a href="#EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115">Exporting all data</a></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li45052783510"><a href="#EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218">Exporting Data On the Current Page</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115"><a name="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section449445904115"></a><a name="en-us_topic_0185264341_section449445904115"></a><h4 class="sectiontitle">Exporting all data</h4><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p32083483">The following functions are disabled while the export operation is in progress:</p>
<ul class="subitemlist" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul20315896"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li48625339">Executing SQL queries in the <strong id="EN-US_TOPIC_0000001860318913__b9555171251114">SQL Terminal</strong></li></ul>
<ul id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ul46338367"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li14392122">Executing PL/SQL statements</li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li63595775113352">Debugging PL/SQL statements</li></ul>
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p22874645">Follow the steps below to export all results:</p>
<ol id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ol4545214"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link6"><span>Select the <strong id="EN-US_TOPIC_0000001860318913__b1140420193165">Result</strong> tab.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link7"><span>Click <span><img id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_image18812163310101" src="figure/en-us_image_0000001813439432.jpg"></span>. The <strong id="EN-US_TOPIC_0000001860318913__b919982313402">Export ResultSet Data</strong> window appears.</span><p><div class="p" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p1551204102419">Refer to <a href="DWS_DS_98.html#EN-US_TOPIC_0000001860318649__section32742219385">Exporting Table Data</a> to complete the export operation.<div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note3983054182214"><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_0000001860318913__en-us_topic_0185264341_p79821954152214">You can check the status bar to view the status of the result being exported.</p>
</div></div>
</div>
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p2926649112616">The <strong id="EN-US_TOPIC_0000001860318913__b1570964831710">Data Exported Successfully</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li65538407113555"><span>Click <strong id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_b359512119458">OK</strong>. Data Studio displays the status of the operation in the <strong id="EN-US_TOPIC_0000001860318913__b09737515182">Messages</strong> tab.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note34711916262"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p35781442202710">If the disk is full while exporting the results, then Data Studio displays an error in the Messages tab. In this case, clear the disk, re-establish the connection and export the result data.</p>
</div></div>
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p48598040">The Messages tab shows the <strong id="EN-US_TOPIC_0000001860318913__b161975302020">Execution Time</strong>, <strong id="EN-US_TOPIC_0000001860318913__b5334172132117">Total Result Records Fetched</strong>, and the path where the file is saved.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218"><a name="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_section1056892694218"></a><a name="en-us_topic_0185264341_section1056892694218"></a><h4 class="sectiontitle">Exporting Data On the Current Page</h4><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p23537029">It is recommended to export all results instead of exporting the current page. The <strong id="EN-US_TOPIC_0000001860318913__b156651136192216">Export Current Page to CSV</strong> function has been deleted.</p>
<p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p10506676">Follow the steps below to export the current page:</p>
<ol id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ol27451222"><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li45734414"><span>Select the <strong id="EN-US_TOPIC_0000001860318913__b1517664122410">Result</strong> tab.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_ole_link10"><span>Click the <span><img id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_image1080513479108" src="figure/en-us_image_0000001860199293.jpg"></span> icon to export the current page.</span><p><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p1149657649">The <strong id="EN-US_TOPIC_0000001860318913__b121029114393445">Data Studio Security Disclaimer</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li29619832"><span>Click <strong id="EN-US_TOPIC_0000001860318913__b956864612413">OK</strong>.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li55558125"><span>Select the location to save the current page.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note35228179"><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_0000001860318913__en-us_topic_0185264341_p48618163">You can check the status bar to view the status of the page being exported.</p>
</div></div>
</p></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li34910290"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001860318913__uicontrol154079714093445"><b>Save</b></span>. The <strong id="EN-US_TOPIC_0000001860318913__b1348115396307">Data Exported Successfully</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_li15427143114435"><span>Click <strong id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_b74557482469">OK</strong>. Data Studio displays the status of the operation in the <strong id="EN-US_TOPIC_0000001860318913__b576675319">Messages</strong> tab.</span><p><div class="note" id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_note156495718451"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860318913__en-us_topic_0185264341_p7651057204519">If the disk is full while exporting the results, then Data Studio displays an error in the Messages tab. In this case, clear the disk, re-establish the connection and export the result data.</p>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>

View File

@ -0,0 +1,19 @@
<a name="EN-US_TOPIC_0000001860198717"></a><a name="EN-US_TOPIC_0000001860198717"></a>
<h1 class="topictitle1">Managing Connections in the SQL Terminal</h1>
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p176924197365">In Data Studio, you can either use an existing connection or set up a new one in the SQL terminal to view the execution plan and cost, visualize the plan explanation, and work with the result set. By default, the SQL terminal reuses existing connections. When multiple queries are queued for execution in an existing connection, consider using a new connection to avoid delays caused by sequential execution. However, it is best to reuse existing connections when working with temporary tables. For how to edit temporary tables, see <a href="DWS_DS_020.html">Editing Temporary Tables</a>.</p>
<p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p1677112211592">Perform the following steps to change the connection reuse setting:</p>
<ol id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_ol124254545914"><li id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_li94252595917"><span>Click <span><img id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_image942519513599" src="figure/en-us_image_0000001860199201.png"></span> to enable or disable the connection reuse function in the SQL terminal.</span><p><div class="p" id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p153705719338">For details about query execution behavior during connection reuse and creation, see <a href="DWS_DS_040.html#EN-US_TOPIC_0000001813598528__en-us_topic_0185264547_li18661844113712">FAQs</a>.<div class="note" id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_note332519553337"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p1325115520332">You can only edit temporary tables in existing connections.</p>
</div></div>
</div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
</div>
</div>

View File

@ -0,0 +1,28 @@
<a name="EN-US_TOPIC_0000001813598788"></a><a name="EN-US_TOPIC_0000001813598788"></a>
<h1 class="topictitle1">Security Management</h1>
<div id="body1584526252531"><div class="notice" id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264888_note88215563320"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264888_p10824560329">Ensure that the operating system and the required software (refer to <a href="DWS_DS_004.html">System Requirements</a> for more details) are updated with the latest patches to prevent vulnerabilities and other security issues.</p>
</div></div>
<div class="section" id="EN-US_TOPIC_0000001813598788__section128920283194"><h4 class="sectiontitle">Login History</h4><ul id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264063_ul5452154231916"><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264063_li045214281917">When you log in to the database, Data Studio displays a window, describing the latest successful login and the failed login attempts during the last two successful logins.</li></ul>
<p id="EN-US_TOPIC_0000001813598788__p3515132912593"><span><img id="EN-US_TOPIC_0000001813598788__image252275113155" src="figure/en-us_image_0000001813599196.png"></span></p>
<p id="EN-US_TOPIC_0000001813598788__p05225517156"></p>
<div class="note" id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264063_note1336018391919"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813598788__p166555662220">If the pop-up displays the message "Last login details not available", then it implies that the connected database does not support the last login display feature.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598788__section435944610192"><h4 class="sectiontitle">Password Expiry Notification</h4><ul id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264716_ul18286644151911"><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264716_li142861944171917">Your password will expire within 7 days from the date of notification. If the password expires, contact the database administrator to reset the password.</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264716_li128249712206">The password must be changed every 90 days.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598788__section191942032205"><h4 class="sectiontitle">Securing the Application In-Memory Data</h4><p id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264508_p1294523915156">While running Data Studio in a trusted environment, user must ensure to prevent malicious software scanning or accessing the memory which is used to store application data including sensitive information.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598788__section06811503215"><h4 class="sectiontitle">Data Encryption for Saved Data</h4><p id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264324_p419881295311">You can ensure encryption of auto saved data by enabling encryption option from <strong id="EN-US_TOPIC_0000001813598788__b11869103263210">Preferences </strong>page. Refer to <a href="DWS_DS_005.html#EN-US_TOPIC_0000001813438860__table1510418570339">Table 1</a> for steps to encrypt the saved data.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001813598788__section1784531382112"><h4 class="sectiontitle">SQL History</h4><ul id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_ul58721624132713"><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li1120295562712">SQL History scripts are not encrypted.</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li13202755122719">The SQL History list does not display sensitive queries that contain the following keywords:<ul id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_ul136139322313"><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li166131132143114">Alter Role</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li12613193253110">Alter User</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li661312321312">Create Role</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li361313321311">Create User</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li1161363293119">Identified by</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li66131632193116">Password</li></ul>
</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li105341758193214">Some query syntax examples are listed below:<ul id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_ul1534558183212"><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li35341258143210">ALTER USER name [ WITH ] option [ ... ]]</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li18534195817326">CREATE USER name [ [ WITH ] option [ ... ] ]</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li1653465863216">CREATE ROLE name [ [ WITH ] option [ ... ] ]</li><li id="EN-US_TOPIC_0000001813598788__en-us_topic_0185264156_li653435817321">ALTER ROLE name [ [ WITH ] option [ ... ] ]</li></ul>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +0,0 @@
<a name="EN-US_TOPIC_0000001233922147"></a><a name="EN-US_TOPIC_0000001233922147"></a>
<h1 class="topictitle1">About Data Studio</h1>
<div id="body32001227"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="dws_07_0012.html">Overview</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_12.html">Constraints and Limitations</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_13.html">Structure of a Release Package</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_14.html">System Requirements</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

File diff suppressed because one or more lines are too long

View File

@ -1,94 +0,0 @@
<a name="EN-US_TOPIC_0000001234200597"></a><a name="EN-US_TOPIC_0000001234200597"></a>
<h1 class="topictitle1">Viewing Table Data</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p44210229">Follow the steps to view table data:</p>
<ol id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ol27214980195457"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li62676210195457"><span>Right-click the selected table and select <strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b19866161392019">View Table Data</strong>.</span><p><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p17002324">The <strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b2076723752019">View Table Data</strong> tab is displayed where you can view the table data information.</p>
<p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p19391163815514">Toolbar menu in the <strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b4631142142017">View Table Data</strong> window:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_table1019603835113" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row13392133855112"><th align="left" class="cellrowborder" valign="top" width="21.21%" id="mcps1.3.2.1.2.3.1.4.1.1"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p11392143875114"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b816510267215">Toolbar Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.120000000000001%" id="mcps1.3.2.1.2.3.1.4.1.2"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p1392173814512"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b188741429132114">Toolbar Icon</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="66.67%" id="mcps1.3.2.1.2.3.1.4.1.3"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p139273818512"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b7564103202111">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row153921738125112"><td class="cellrowborder" valign="top" width="21.21%" headers="mcps1.3.2.1.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p2392203819512">Copy</p>
</td>
<td class="cellrowborder" valign="top" width="12.120000000000001%" headers="mcps1.3.2.1.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p039343817517"><span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image12260420185317" src="figure/en-us_image_0000001188521214.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="66.67%" headers="mcps1.3.2.1.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p14393123825117">Click the icon to copy selected content from <strong id="EN-US_TOPIC_0000001234200597__b16830294211321">View Table Data</strong> window to clipboard. Shortcut key - <strong id="EN-US_TOPIC_0000001234200597__b117097420711321">Ctrl+C</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row383217111310"><td class="cellrowborder" valign="top" width="21.21%" headers="mcps1.3.2.1.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p68321471132">Advanced Copy</p>
</td>
<td class="cellrowborder" valign="top" width="12.120000000000001%" headers="mcps1.3.2.1.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p1783218714138"><span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image1381581512134" src="figure/en-us_image_0000001233922299.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="66.67%" headers="mcps1.3.2.1.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p58323715135">Click the icon to copy content from result window to the clipboard. Results can be copied to include the row number and/or 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_0000001234200597__b46559083711321">Ctrl+Shift+C</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row193931238105119"><td class="cellrowborder" valign="top" width="21.21%" headers="mcps1.3.2.1.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p93931338205116">Show/Hide Search Bar</p>
</td>
<td class="cellrowborder" valign="top" width="12.120000000000001%" headers="mcps1.3.2.1.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p10394173818513"><span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image1739493825110" src="figure/en-us_image_0000001234042249.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="66.67%" headers="mcps1.3.2.1.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p203945381519">Click the icon to display/hide the search text field. This is a toggle button.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row188945372910"><td class="cellrowborder" valign="top" width="21.21%" headers="mcps1.3.2.1.2.3.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p13894103202913">Encoding</p>
</td>
<td class="cellrowborder" valign="top" width="12.120000000000001%" headers="mcps1.3.2.1.2.3.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p389415312914">-</p>
</td>
<td class="cellrowborder" valign="top" width="66.67%" headers="mcps1.3.2.1.2.3.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p224472815310">Refer to <a href="DWS_DS_128.html#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a> for information on encoding selection.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p112335291720">Icons in Search field:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_table710852112012" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row141091221202020"><th align="left" class="cellrowborder" valign="top" width="32.323232323232325%" id="mcps1.3.2.1.2.5.1.4.1.1"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p1210962132020"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b11689345102113">Icon Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.131313131313133%" id="mcps1.3.2.1.2.5.1.4.1.2"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p710942122015"><strong id="EN-US_TOPIC_0000001234200597__b893866191811">Icon</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="54.545454545454554%" id="mcps1.3.2.1.2.5.1.4.1.3"><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p1210915219200"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b378975215217">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row1211014216205"><td class="cellrowborder" valign="top" width="32.323232323232325%" headers="mcps1.3.2.1.2.5.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p15110521132018">Search</p>
</td>
<td class="cellrowborder" valign="top" width="13.131313131313133%" headers="mcps1.3.2.1.2.5.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p21101721142010"><span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image12992101710210" src="figure/en-us_image_0000001188362664.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="54.545454545454554%" headers="mcps1.3.2.1.2.5.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p41111521112018">Click the icon to search the table data displayed based on the criteria defined. The text is case-insensitive.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_row1911122119201"><td class="cellrowborder" valign="top" width="32.323232323232325%" headers="mcps1.3.2.1.2.5.1.4.1.1 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p61113210200">Clear Search Text</p>
</td>
<td class="cellrowborder" valign="top" width="13.131313131313133%" headers="mcps1.3.2.1.2.5.1.4.1.2 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p203175085019"><span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image018450115016" src="figure/en-us_image_0000001188681132.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="54.545454545454554%" headers="mcps1.3.2.1.2.5.1.4.1.3 "><p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p131121121162013">Click the icon to clear the search texts entered in the search field.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="p" id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p1956854814118">Refer to <a href="DWS_DS_128.html#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a> for column reordering and sorting options.<ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul4257112011459"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li6430828111331"><strong id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_b10886150185914">Query Submit Time</strong>: Provides the query submitted time.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_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_0000001234200597__en-us_topic_0185264820_note1923353611319"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul15176349135212"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li91761849185213">When you view table data, Data Studio automatically adjusts the column widths for an optimal table view. Users can resize the columns as needed. If the text content of a cell exceeds the total available display area, then resizing the cell column may cause DS to become unresponsive.</li></ul>
<ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul943135324117"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li203261622153010">When the data in a table cell is more than 1000 characters, it will be trimmed to 1000 characters with "..." at the end.<ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul43261822113019"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li54652516159">If the user copies the data from a cell in a table or the <strong id="EN-US_TOPIC_0000001234200597__b103784283211321">Result</strong> tab and pastes it on any editor (such as SQL terminal/PLSQL source editor, notepad or any other external editor application), the entire data is pasted.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li3481752159">If the user copies the data from a cell in a table or the <strong id="EN-US_TOPIC_0000001234200597__b181488200311321">Result</strong> tab and pastes it on an editable cell (same or different), the cell shows only the first 1000 characters with "..." in the end.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li248112520154">When the table/<strong id="EN-US_TOPIC_0000001234200597__b138766280611321">Result</strong> tab data is exported, the exported file contains the whole data.</li></ul>
</li></ul>
</div></div>
</li></ul>
</div>
<div class="note" id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_note23129319184842"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul6837280184842"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li61535526184842">Individual table data window is displayed for each table.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li30677554184842">If the data of the table that is already opened is modified, then refresh and open the table data again to view the updated information on the same opened window.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li3372804518496">While the data is loading a message displays at the bottom stating "fetching".</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li188371424111011">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_0000001234200597__en-us_topic_0185264820_li5724335104514">Select part of cell content and press <strong id="EN-US_TOPIC_0000001234200597__b117036696511321">Ctrl+C </strong>or click <span><img id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_image3761203321018" src="figure/en-us_image_0000001233800809.jpg"></span> to copy selected text from a cell.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li1295182713103">The size of the column is determined by the maximum content length column.</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li10168327152419">You can save preference to define:<ul id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_ul10169827172411"><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li31691927142413">Number of records to be fetched</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li19169127122420">Column width</li><li id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li111695278246">Copy option from result set<p id="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_p18170142717242"><a name="EN-US_TOPIC_0000001234200597__en-us_topic_0185264820_li111695278246"></a><a name="en-us_topic_0185264820_li111695278246"></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></ul>
</div></div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_94.html">Managing Table Data</a></div>
</div>
</div>

View File

@ -1,80 +0,0 @@
<a name="EN-US_TOPIC_0000001233800701"></a><a name="EN-US_TOPIC_0000001233800701"></a>
<h1 class="topictitle1">Editing Table Data</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p37545162">Follow the steps below to edit table data:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol2362138"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li53633175"><span>Right-click the selected table and select <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b87407368222">Edit Table Data</strong>.</span><p><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p35493489">The <strong id="EN-US_TOPIC_0000001233800701__b1883668959113125">Edit Table</strong> data tab is displayed.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p8160103210253">Refer to <a href="DWS_DS_101.html">Viewing Table Data</a> for description on copy and search toolbar options.</p>
</p></li></ol>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p21259248">Data Studio validates only the following data types entered into cells:</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p283812161648">Bigint, bit, boolean, char, date, decimal, double, float, integer, numeric, real, smallint, time, time with time zone, time stamp, time stamp with time zone, tinyint, and varchar. Editing of array type data type is not supported.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p44277527">Any related errors during this operation reported by database will be displayed in Data Studio. Time with time zone and timestamp with time zone columns are non-editable columns.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p62953426">You can perform the following operations in the <strong id="EN-US_TOPIC_0000001233800701__b118457181113125">Edit Table Data</strong> tab:</p>
<ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul29709926"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li18441142715472"><a href="#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section5333590620118">Insert</a></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li27116106505"><a href="#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2976164920345">Delete</a></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li98071115155011"><a href="#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_updateacell">Update</a></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li510771911384"><a href="#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2471220104119">Copy</a></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li162286494497"><a href="#EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section3927320420">Paste</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section5333590620118"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section5333590620118"></a><a name="en-us_topic_0185264734_section5333590620118"></a><h4 class="sectiontitle">Insert</h4><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p87812386478">Follow the steps to insert a row:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol1666018374177"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li13657937181710"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image99022815274" src="figure/en-us_image_0000001234042271.png"></span> to insert a row.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li186571937161718"><span>Double-click the cell to modify and enter the required details in the row.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1367115269611"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image20673112619618" src="figure/en-us_image_0000001234042273.png"></span> to save changes.</span><p><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p156734261564">The <strong id="EN-US_TOPIC_0000001233800701__b1315951611113125">Edit Table Data</strong> tab status bar shows the <strong id="EN-US_TOPIC_0000001233800701__b898055699113125">Query Submit Time</strong>, <strong id="EN-US_TOPIC_0000001233800701__b1648255927113125">Number of Rows Fetched</strong>,<strong id="EN-US_TOPIC_0000001233800701__b257601826113125"> Execution Time</strong> and <strong id="EN-US_TOPIC_0000001233800701__b1067080505113125">Status</strong> of the operation.</p>
<div class="notice" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note889673116717"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p148965311074">Data Studio updates rows identified by the unique key. If a unique key is not identified for a table and there are identical rows, then an update operation made on one of the rows will affect all identical rows. Refresh the <strong id="EN-US_TOPIC_0000001233800701__b258870459113125">Edit Table Data</strong> tab to view the updated rows.</p>
</div></div>
<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note1789973116710"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul890116312720"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li18913731477">Changes to cells in a row that are not saved are highlighted in green. Once saved the color resets to default color.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li189151931779">Unsaved records are highlighted in red. The number of successful and failed records are displayed in the status bar of the <a href="DWS_DS_102.html">Edit Table Data</a> tab.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li49213311174">Clicking <strong id="EN-US_TOPIC_0000001233800701__b1369432610113125">Save</strong> either saves all the valid changes or does not save anything if there are invalid changes. Refer to <a href="DWS_DS_102.html">Editing Table Data</a> to set the behavior of save operation.</li></ul>
</div></div>
</p></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li11464944772"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image24672441275" src="figure/en-us_image_0000001234042269.png"></span> to roll back the changes that are not saved.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1365107284"><span>Set the preference to define:</span><p><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul536714712818"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li4369372820">Number of records to be fetched</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li163705713819">Column width</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li537314719813">Copy option from result set<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p133768717814"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li537314719813"></a><a name="en-us_topic_0185264734_li537314719813"></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>
</p></li></ol>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p23044555">Data Studio allows you to edit the distribution key column only for a new row.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2976164920345"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2976164920345"></a><a name="en-us_topic_0185264734_section2976164920345"></a><h4 class="sectiontitle">Delete</h4><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p6771154316497">Follow the steps to delete a row:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol54669653"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li0364934164012"><span>Click the row header of the row to be deleted.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li8925963"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image143391254963" src="figure/en-us_image_0000001188362688.png"></span> to delete a row.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li64576574"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image48931846104211" src="figure/en-us_image_0000001234042277.png"></span> to save changes. The <strong id="EN-US_TOPIC_0000001233800701__b1903647146113125">Define Unique Key</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li12937172711112"><span>Click the required option:</span><p><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul14939927171114"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li20940172718111"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b42561029153915">Use All Columns</strong><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p39461427151112">Click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b7384161420404">Use All Columns</strong> to define all columns as unique key.</p>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1695018272117"><strong id="EN-US_TOPIC_0000001233800701__b1442018860113125">Custom Unique Key</strong><ol type="a" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol59566279119"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1649211694218">Click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b137815191404">Custom Unique Key</strong> to define selected columns as unique key.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li995872718119">The <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b1679192319402">Define Unique Key</strong> dialogue box is displayed.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li139661227151116">Select the required columns and click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b154841337402">OK</strong>.</li></ol>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1097182715113">Cancel<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p69783272112"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1097182715113"></a><a name="en-us_topic_0185264734_li1097182715113"></a>Click <strong id="EN-US_TOPIC_0000001233800701__b605397361113125">Cancel</strong> to modify the information in <strong id="EN-US_TOPIC_0000001233800701__b216425944113125">Edit Table Data</strong> tab.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p198372781119">The <strong id="EN-US_TOPIC_0000001233800701__b781306526113125">Edit Table Data</strong> tab status bar shows the <strong id="EN-US_TOPIC_0000001233800701__b1168698361113125">Query Submit Time</strong>, <strong id="EN-US_TOPIC_0000001233800701__b1514730807113125">Number of Rows Fetched</strong>, <strong id="EN-US_TOPIC_0000001233800701__b1147642301113125">Execution Time</strong> and <strong id="EN-US_TOPIC_0000001233800701__b1686259349113125">Status</strong> of the operation.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p99871027111117">Select <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b88765716405">Remember the selection for this window</strong> option to hide the unique definition window from displaying while continuing with the edit table data operation. Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image1399118276111" src="figure/en-us_image_0000001188521240.png"></span> from Edit Table Data toolbar to clear previously selected unique key definition and display unique definition wind</p>
</li></ul>
<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note9992202710114"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul6994182716115"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li20999142721117">Changes to cells in a row that are not saved are highlighted in green. Once saved the color resets to default color.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li6152814115">Unsaved records are highlighted in red. The number of successful and failed records are displayed in the status bar of the <a href="DWS_DS_102.html">Edit Table Data</a> tab.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li07192811114">Clicking <strong id="EN-US_TOPIC_0000001233800701__b1504805552113125">Save</strong> either saves all the valid changes or does not save anything if there are invalid changes. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</li></ul>
</div></div>
</p></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li5862165219113"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image1586215524116" src="figure/en-us_image_0000001233922323.png"></span> to roll back the changes that are not saved.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li63319983"><span>Refresh the table data to view deleted duplicate rows.</span></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_updateacell"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_updateacell"></a><a name="en-us_topic_0185264734_updateacell"></a><h4 class="sectiontitle">Update</h4><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p38546056">Follow the steps to update cell data:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol11370190"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li35222847"><span>Double-click the cell to update the contents of the cell.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li34478387"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image94721526134420" src="figure/en-us_image_0000001234200763.png"></span> to save changes.</span><p><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p20798144334419">The <strong id="EN-US_TOPIC_0000001233800701__b528578013113125">Define Unique Key</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li132186373235"><span>Click the required option:</span><p><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul10222193742319"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li4224337162316"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b1836991015419">Use All Columns</strong><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p522793762312">Click <strong id="EN-US_TOPIC_0000001233800701__b486174537113125">Use All Columns</strong> to define all columns as unique key.</p>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li19241937172310"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b1699153554112">Custom Unique Key</strong><ol type="a" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol724703762314"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li132477372237">Click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b20167650114110">Custom Unique Key</strong> to define selected columns as unique key.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li10251153719239">The <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b73417531418">Define Unique Key</strong> dialogue box is displayed.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1125583714234">Select the required columns and click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b62311756144113">OK</strong>.</li></ol>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li32601537152313"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b15618958204114">Cancel</strong><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p192683376235">Click <strong id="EN-US_TOPIC_0000001233800701__b736706359113125">Cancel</strong> to modify the information in <strong id="EN-US_TOPIC_0000001233800701__b1470055007113125">Edit Table Data</strong> tab.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p10272153752312">The status bar shows the <strong id="EN-US_TOPIC_0000001233800701__b1953886312113125">Execution Time</strong> and <strong id="EN-US_TOPIC_0000001233800701__b1419770599113125">Status</strong> of the operation.</p>
<div class="p" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p4272137192314">Select <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b1283100424">Remember the selection for this window</strong> option to hide the unique definition window from displaying while continuing with the edit table data operation. Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image102791437132310" src="figure/en-us_image_0000001233922321.png"></span> from Edit Table Data toolbar to clear previously selected unique key definition and display unique definition wind<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note14281133742311"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul12282143711233"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1528710374232">Changes to cells in a row that are not saved are highlighted in green. Once saved the color resets to default color.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1428911374237">Unsaved records are highlighted in red. The number of successful and failed records are displayed in the status bar of the <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b4612219437">Edit Table Data</strong> tab.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li929553710233">Clicking <strong id="EN-US_TOPIC_0000001233800701__b958946162113125">Save</strong> either saves all the valid changes or does not save anything if there are invalid changes. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</li></ul>
</div></div>
</div>
</li></ul>
</p></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li228413782316"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image152861373239" src="figure/en-us_image_0000001188202726.png"></span> to roll back the changes that are not saved.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1756062816247"><span>Refresh the table data to view deleted duplicate rows.</span></li></ol>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p32696434">During the edit operation, Data Studio does not allow you to edit the distribution key column as it is used by the DB to locate data in the database cluster.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2471220104119"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section2471220104119"></a><a name="en-us_topic_0185264734_section2471220104119"></a><h4 class="sectiontitle">Copy</h4><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p1612444120567">You can copy data from the <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b149471048185916">Edit Table Data</strong> tab.</p>
</div>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p1160719497415">Follow the steps to copy data:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol13607249144117"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li126071049114117"><span>Select the cell(s) and click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image3659183594313" src="figure/en-us_image_0000001234200767.png"></span> (Copy) or <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image1025626165319" src="figure/en-us_image_0000001188521242.jpg"></span> (Advanced Copy).</span><p><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li1468691454011p0">For more information about the differences between <strong id="EN-US_TOPIC_0000001233800701__b1487046059113125">Copy</strong> and <strong id="EN-US_TOPIC_0000001233800701__b1489703585113125">Advanced Copy</strong>, see <a href="DWS_DS_128.html#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a>.</p>
<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note10286134920417"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul68509546461"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li18850175454617">Data can be copied to include the row number and/or 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.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li785075410461">Select part of cell content and press <strong id="EN-US_TOPIC_0000001233800701__b1064346189113125">Ctrl+C </strong>or click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image1213155414531" src="figure/en-us_image_0000001234042275.jpg"></span> to copy selected text from a cell.</li></ul>
</div></div>
</p></li></ol>
<div class="section" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section3927320420"><a name="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_section3927320420"></a><a name="en-us_topic_0185264734_section3927320420"></a><h4 class="sectiontitle">Paste</h4><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p31165525">You can copy data from a CSV file and paste it into cells in the <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b82171621907">Edit Table Data</strong> tab to insert and update records. If you paste onto existing cell data, the data is overwritten with the new data from the CSV file. Follow the steps to paste data into a cell:</p>
<ol id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol41379576"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li20700171213565"><span>Copy data from the CSV file.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li681017321613"><span>Select the cell(s) and click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image18811153218616" src="figure/en-us_image_0000001233800831.png"></span>.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li33831071"><span>Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image1210291961010" src="figure/en-us_image_0000001188681160.png"></span> to save changes. The <strong id="EN-US_TOPIC_0000001233800701__b1149319796113125">Define Unique Key</strong> dialog box is displayed.</span></li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li17649121715"><span>Click the required option:</span><p><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul57341118208"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li472911152019"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b12401122112445">Use All Columns</strong><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p6548181562010">Click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b1051319245447">Use All Columns</strong> to define all columns as unique key.</p>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li17317116204"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b172772713448">Custom Unique Key</strong><ol type="a" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ol8205192012519"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li02053206513">Click <strong id="EN-US_TOPIC_0000001233800701__b1813461141113125">Custom Unique Key</strong> to define selected columns as unique key.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li2854171219471">The <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b15715173217447">Define Unique Key</strong> dialogue box is displayed.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li112052020115111">Select the required columns and click <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b17347133714440">OK</strong>.</li></ol>
</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li173211840202012"><strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b3515114012449">Cancel</strong><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p1815921414273">Click <strong id="EN-US_TOPIC_0000001233800701__b2087591577113125">Cancel</strong> to modify the information in <strong id="EN-US_TOPIC_0000001233800701__b970321884113125">Edit Table Data</strong> tab.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p1516071472718">The status bar shows the <strong id="EN-US_TOPIC_0000001233800701__b1829990787113125">Execution Time</strong> and <strong id="EN-US_TOPIC_0000001233800701__b1109678561113125">Status</strong> of the operation.</p>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p1716021417273">Select <strong id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_b855814481448">Remember the selection for this window</strong> option to hide the unique definition window from displaying while continuing with the edit table data operation. Click <span><img id="EN-US_TOPIC_0000001233800701__image1882982642113125" src="figure/en-us_image_0000001290392476.png"></span> from Edit Table Data toolbar to clear previously selected unique key definition and display unique definition wind</p>
<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note6645186174811"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul574215115428"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li18743171119427">The number of copied cells from CSV must match the number of cells selected in the <strong id="EN-US_TOPIC_0000001233800701__b1247805595113125">Edit Table Data</strong> tab to paste the data.</li></ul>
<ul id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_ul2429191354812"><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li262615854110">Click <span><img id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_image16628258104118" src="figure/en-us_image_0000001234200765.png"></span> to roll back the changes that are not saved.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li7988141661319">Changes to cells in a row that are not saved are highlighted in green. Once saved the color resets to default color.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li169901516201316">Unsaved records are highlighted in red. The number of successful and failed records are displayed in the status bar of the <strong id="EN-US_TOPIC_0000001233800701__b645457273113125">Edit Table Data</strong> tab.</li><li id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_li17439121317485">Clicking <strong id="EN-US_TOPIC_0000001233800701__b1330007608113125">Save</strong> either saves all the valid changes or does not save anything if there are invalid changes. For details, see <a href="DWS_DS_102.html">Editing Table Data</a>.</li></ul>
</div></div>
</li></ul>
</p></li></ol>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p61412264">During the pasting operation, Data Studio does not allow you to edit the distribution key column as it is used by the DB to locate data in the database cluster.</p>
<div class="note" id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_note13535132317357"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p194281633193517">Empty cells are shown as [NULL]. Empty cell in <strong id="EN-US_TOPIC_0000001233800701__b497680613113125">Edit Table Data</strong> tab can be searched using the <strong id="EN-US_TOPIC_0000001233800701__b950040272113125">Null Values</strong> search drop-down.</p>
</div></div>
<p id="EN-US_TOPIC_0000001233800701__en-us_topic_0185264734_p381121894417">Refer to <a href="DWS_DS_128.html#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a> for information on show/hide search bar, sort, column reorder, and encoding options..</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_94.html">Managing Table Data</a></div>
</div>
</div>

View File

@ -1,19 +0,0 @@
<a name="EN-US_TOPIC_0000001234042149"></a><a name="EN-US_TOPIC_0000001234042149"></a>
<h1 class="topictitle1">Editing Temporary Tables</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_p12741154010512">Data Studio allows you to edit temporary tables. Temporary tables are deleted automatically when you close the connection that was used to create the table.</p>
<div class="notice" id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_note1583825194013"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_p166020271511">Ensure that connection reuse is enabled when you use the SQL Terminal to edit temporary tables. Refer to <a href="DWS_DS_130.html">Managing SQL Terminal Connections</a> for information about enabling SQL Terminal Connection reuse.</p>
</div></div>
<p id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_p1266242785111">Follow the steps to edit a temporary table:</p>
<ol id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_ol56621327145111"><li id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_li0662827185112"><span>Execute a query on the temporary table.</span><p><p id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_p26621127135120">The <strong id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_b149151532102517">Result</strong> tab displays the results of the SQL query along with the query statement executed.</p>
</p></li><li id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_li1662172714517"><span>Edit the temporary table from the <strong id="EN-US_TOPIC_0000001234042149__en-us_topic_0185264258_b1320739819">Result </strong>tab. Refer to the <a href="DWS_DS_128.html#EN-US_TOPIC_0000001234200573__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a> for information on editing the resultset.</span></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_69.html">GaussDB(DWS) Tables</a></div>
</div>
</div>

View File

@ -1,22 +0,0 @@
<a name="EN-US_TOPIC_0000001188521138"></a><a name="EN-US_TOPIC_0000001188521138"></a>
<h1 class="topictitle1">Sequences</h1>
<div id="body1584526252528"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_105.html">Creating Sequence</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_106.html">Grant/Revoke Privilege</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_107.html">Working with Sequences</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

View File

@ -1,26 +0,0 @@
<a name="EN-US_TOPIC_0000001233922155"></a><a name="EN-US_TOPIC_0000001233922155"></a>
<h1 class="topictitle1">Creating Sequence</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p89612595214">Follow the steps below to create a sequence:</p>
<ol id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_ol14939758"><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li185623420712"><span>In the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b2160855">Object Browser </strong>pane, right-click <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b19447695">Sequences</strong> under the particular schema where you want to create the sequence and select <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b28128170111528">Create Sequence</strong>.</span><p><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p147031036812">The <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b125141340151013">Create New Sequence</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li20971059226"><span>Provide information to create a sequence:</span><p><ol type="a" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_ol15356165215610"><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li1585212405910">Enter a name in the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b735615528567">Sequence Name</strong> field.<div class="note" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_note155771369712"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p492114224516">Select the<strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b175780617714"> Case</strong> check box to retain the capitalization of the text entered in <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b457813610710">Sequence Name</strong> field. For example, if the sequence name entered is "Employee", then the sequence name is created as "Employee".</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li118471740896">Enter the minimum value in the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b4804181435712">Minimum Value</strong> field.</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li13847940992">Enter the increase step value in the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b1365151911578">Increment By</strong> field.</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li20848640499">Enter maximum value in the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b2905822155717">Maximum Value</strong> field.<div class="note" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_note195015364111"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p1459016344105">The minimum and maximum value should be between -9223372036854775808 and 9223372036854775807.</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li48495409914">Enter the start value of the sequence in <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b85333266576">Start Value</strong> field.</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li1784920409914">Enter the cache information in <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b12446153017578">Cache </strong>field. The cache value denotes the number of sequences stored in the memory for quick access.</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li1885011409915">Select the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b756873925714">Cycle</strong> field to recycle sequences after the number of sequences reaches either the maximum or minimum value.<div class="note" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_note1128510214378"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p158461455151319">The schema name auto-populates in the<strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b368662716379"> Schema</strong> field.</p>
</div></div>
</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li585118402910">Select the table from the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b123781249105715">Table</strong> drop-down list.</li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li1485111400915">Select the column from the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b1636135317577">Column</strong> drop-down list.</li></ol>
</p></li><li id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_li165071542135019"><span>Click <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b19435151401919">Finish</strong>.</span><p><div class="p" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p89726217518">The status bar displays the status of the completed operation.<div class="note" id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_note1927964155617"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_p826721064910">In the <strong id="EN-US_TOPIC_0000001233922155__en-us_topic_0185264927_b122795414567">SQL Preview</strong> tab, you can view the SQL query automatically generated for the inputs provided.</p>
</div></div>
</div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_104.html">Sequences</a></div>
</div>
</div>

View File

@ -1,17 +0,0 @@
<a name="EN-US_TOPIC_0000001188681038"></a><a name="EN-US_TOPIC_0000001188681038"></a>
<h1 class="topictitle1">Grant/Revoke Privilege</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_p1475910503142">Follow the steps below to grant/revoke a privilege:</p>
<ol id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_ol54022224212"><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li222516181158"><span>Right-click the sequences group and select <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b22197393151114">Grant/Revoke</strong>.</span><p><p id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_p72251118141518">The <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b31622189431">Grant/Revoke</strong> dialog is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li1851919178165"><span>Select the objects to grant/revoke privilege from the <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b2223163451316">Object Selection</strong> tab and click <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b1464213831311">Next</strong>.</span></li><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li1285194971613"><span>Select the role from <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b97802443139">Role</strong> drop-down list in the <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b76199504138">Privilege Selection</strong> tab.</span></li><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li8898151411172"><span>Select <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b1780271811130">Grant/Revoke</strong> in the <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b1560994015531">Privilege Selection</strong> tab.</span></li><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li1366271912272"><span>Select/unselect the required privileges in the <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b1041310511517">Privilege Selection</strong> tab.</span><p><p id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_p299034617272">In the <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b10768161718535">SQL Preview</strong> tab, you can view the SQL query automatically generated for the inputs provided.</p>
</p></li><li id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_li88071635142816"><span>Click <strong id="EN-US_TOPIC_0000001188681038__en-us_topic_0185264788_b104301537134519">Finish</strong>.</span></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_104.html">Sequences</a></div>
</div>
</div>

View File

@ -1,32 +0,0 @@
<a name="EN-US_TOPIC_0000001233800647"></a><a name="EN-US_TOPIC_0000001233800647"></a>
<h1 class="topictitle1">Working with Sequences</h1>
<div id="body1584526252528"><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p34261215182512">You can perform the following operations on an existing sequence:</p>
<ul id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ul13613163220405"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li3613113204012"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514">Granting/Revoking a Privilege</a></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li156135321408"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313">Dropping a Sequence</a></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li85768033618"><a href="#EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315">Dropping a Sequence Cascade</a></li></ul>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section108511114145313"></a><a name="en-us_topic_0185264214_section108511114145313"></a><h4 class="sectiontitle">Dropping a Sequence</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p10629348216">Individual or batch dropping can be performed on sequences. Refer to <a href="DWS_DS_133.html">Dropping a Batch of Objects</a> section for batch drop.</p>
<p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p7428151515254">Follow the steps to dropping a sequence:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol3428161518256"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li154281415202518"><span>Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b3802903415461">Drop Sequence</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p19429161562511">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b17835653154648">Drop Sequence</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li742921518255"><span>Click <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b8764073155018">Yes </strong>to drop the sequence.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p070616315525">The status bar displays the status of the completed operation.</p>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section825210384315"></a><a name="en-us_topic_0185264214_section825210384315"></a><h4 class="sectiontitle">Dropping a Sequence Cascade</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p124191029428">Follow the steps to drop a sequence cascade:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol9431171515259"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li5431141519259"><span>Right-click the selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b13588653193311">Drop Sequence Cascade</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p15688165183312">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b9589185373315">Drop Sequence Cascade</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li1743211572510"><span>Click <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b159075373318">Yes </strong>to drop the sequence cascade.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p19271547135211">The status bar displays the status of the completed operation.</p>
</p></li></ol>
<div class="note" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_note1143163092814"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p458512112298">This is only available for OLAP, not for OLTP.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514"><a name="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_section203211220143514"></a><a name="en-us_topic_0185264214_section203211220143514"></a><h4 class="sectiontitle">Granting/Revoking a Privilege</h4><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p1475910503142">Follow the steps to grant/revoke a privilege:</p>
<ol id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_ol54022224212"><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li222516181158"><span>Right-click selected sequence and select <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b22197393151114">Grant/Revoke</strong>.</span><p><p id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_p1644714138418">The <strong id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_b31622189431">Grant/Revoke</strong> dialog is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001233800647__en-us_topic_0185264214_li159635211409"><span>Refer to <a href="DWS_DS_106.html">Grant/Revoke Privilege</a> to grant/revoke a privilege.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_104.html">Sequences</a></div>
</div>
</div>

View File

@ -1,19 +0,0 @@
<a name="EN-US_TOPIC_0000001233922181"></a><a name="EN-US_TOPIC_0000001233922181"></a>
<h1 class="topictitle1">Views</h1>
<div id="body32001227"></div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="DWS_DS_109.html">Creating a View</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_110.html">Granting/Revoking a Privilege</a></strong><br>
</li>
<li class="ulchildlink"><strong><a href="DWS_DS_111.html">Working with Views</a></strong><br>
</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_ds_index.html">Data Studio</a></div>
</div>
</div>

View File

@ -1,16 +0,0 @@
<a name="EN-US_TOPIC_0000001234042187"></a><a name="EN-US_TOPIC_0000001234042187"></a>
<h1 class="topictitle1">Creating a View</h1>
<div id="body32001227"><p id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_p19050617">Follow the steps below to create a new view:</p>
<ol id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_ol37237828"><li id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_li66704998"><span>Right-click the <strong id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_b5933165415855">Views</strong> and select <strong id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_b22197393151114">Create View</strong>.</span><p><p id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_p34591489">The DDL template for the view is displayed in the SQL Terminal tab.</p>
</p></li><li id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_li59693950"><span>Edit the DDL as required.</span></li><li id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_li3371814"><span>Click <span><img id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_image59535037153145" src="figure/en-us_image_0000001233922343.jpg"></span> to execute the DDL.</span></li><li id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_li4681502"><span>Press <strong id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_b20745911153736">F5</strong> to refresh the <strong id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_b6148145153452">Object Browser</strong>.</span><p><p id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_p1290511485263">You can view the new view in the <strong id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_b40808326123426">Object Browser</strong>.</p>
<div class="note" id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_note162694101019"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001234042187__en-us_topic_0185264672_p1187181575317">The status bar will not display message on completion of this operation.</p>
</div></div>
</p></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_108.html">Views</a></div>
</div>
</div>

View File

@ -1,14 +0,0 @@
<a name="EN-US_TOPIC_0000001234200689"></a><a name="EN-US_TOPIC_0000001234200689"></a>
<h1 class="topictitle1">Granting/Revoking a Privilege</h1>
<div id="body32001227"><p id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_p1475910503142">Follow the steps below to grant/revoke a privilege:</p>
<ol id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_ol54022224212"><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li222516181158"><span>Right-click the views group and select <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b22197393151114">Grant/Revoke</strong>.</span><p><p id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_p72251118141518">The <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b31622189431">Grant/Revoke</strong> dialog box is displayed.</p>
</p></li><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li1851919178165"><span>Select the objects to grant/revoke a privilege from the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b2223163451316">Object Selection</strong> tab and click <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b1464213831311">Next</strong>.</span></li><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li1285194971613"><span>Select the role from the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b97802443139">Role</strong> drop-down list in the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b76199504138">Privilege Selection</strong> tab.</span></li><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li8898151411172"><span>Select <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b1780271811130">Grant/Revoke</strong> in the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b041311715540">Privilege Selection</strong> tab.</span></li><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li1366271912272"><span>Select/unselect the required privileges in the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b1041310511517">Privilege Selection</strong> tab.</span><p><p id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_p299034617272">In the <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b13565857145317">SQL Preview</strong> tab, you can view the SQL query automatically generated for the inputs provided.</p>
</p></li><li id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_li88071635142816"><span>Click <strong id="EN-US_TOPIC_0000001234200689__en-us_topic_0185264662_b104301537134519">Finish</strong>.</span></li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_108.html">Views</a></div>
</div>
</div>

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More