Answer: Check the following items:
Answer: If the same SSL certificates are used by different servers, then the second connection will succeed because the certificates are cached.
When you establish a connection with a different server using different SSL certificates, the connection will fail due to certificate mismatch.
Answer: This problem may occur if you drop a function/procedure and recreate it. In this case, refresh the parent folder to view the function/procedure in Object Browser.
Answer: Critical error may occur in some of the following cases. Check whether:
Answer: Constraints are used to deny the insertion of unwanted data in columns. You can create restrictions on one or more columns in any table. It maintains the data integrity of the table.
The following constraints are supported:
Answer: An index is a copy of the selected column of a table that can be searched very efficiently. It also includes a low level disk block address or a direct link to the complete row of data it was copied from.
Answer: Exported, imported, and system files are encoded with the system's default encoding as configured in Settings > Preferences. The default encoding is UTF-8.
Answer: A user cannot open multiple instances in Data Studio.
Answer: This problem may occur if other DML/DDL operations are being performed on the same object. In this case, stop all the DML/DDL operations on the object and try again. If the problem persists, there may be another user performing DML/DDL operations on the object. Try again later. You can customize table data and check the operations in a transaction by following the instructions provided in Data Studio GUI.
Answer: When a result set data is exported, a new connection is used to execute the query again. The exported results may be different from the data on the Result tab.
Answer: This message is displayed when you connect to the database server of an earlier version or log in to the database for the first time after it is created.
Answer: This problem occurs when the server returns an incorrect line number. You can view the error message on the Message tab and locate the correct row to rectify the fault.
Answer: Yes.
Answer: The value of -Xmx may be invalid. For details, see Installing and Configuring Data Studio.
Answer: If the number of opened tabs reaches a certain limit (depending on your screen resolution), the icon will be displayed at the end of the tab list. Click this icon and select the required tab from the drop-down list. If this icon is not available, use the tooltip to identify the tabs. You also search for a SQL Terminal tab by its name. For example:
Answer: Sometimes the language may not reflect the selected change post restart. Manually restart DS to open the tool in selected language.
Answer: At times the server returns an error while trying to fetch last login details. In such scenarios the last login pop-up message does not display.
Answer: This happens if the SQL, DDL, object names or data contains Chinese text and the Data Studio file encoding is not set to GBK. To solve this, go to Settings > Preferences > Environment > File Encoding and set the encoding to GBK. The supported combinations of Database and Data Studio encoding for export operation are shown in Table1 Supported combinations of file encoding.
To open/view the exported files in Windows Explorer: Files exported with UTF-8 encoding can be opened/viewed by double-clicking it or by right-clicking on the file and selecting Open. Files exported with GBK encoding must be opened in Microsoft Excel using the import external data feature (Data > Get External Data > From Text).
Database Encoding |
Data Studio File Encoding |
Support for Chinese Text in Table Names |
Support for English Text in Table Names |
---|---|---|---|
GBK |
GBK |
Yes |
Yes |
GBK |
UTF-8 |
No - Incorrect details |
No - Incorrect details |
UTF-8 |
GBK |
No - Export Fails |
No - Incorrect details |
UTF-8 |
UTF-8 |
Yes |
Yes |
UTF-8 |
LATIN1 |
No - Export Fails |
Yes |
SQL_ASCII |
GBK |
Yes |
Yes |
SQL_ASCII |
UTF-8 |
No - Incorrect details |
No - Incorrect details |
Answer: This message occurs if the Data Studio and Database encoding selected are incompatible. To solve this, select the compatible encoding. Compatible encoding is shown in Table 2.
Answer: The database does not differentiate between PL/SQL function and procedure. All procedures in databases are functions. Hence PL/SQL procedure is saved as PL/SQL function.
Answer: The database allows you to edit the distribution key only for the first insert operation.
Answer: Yes, the database server will add the value but the value will not be visible after save in the Edit Table Data tab. Use the refresh option from the Edit Table Data tab or re-open the table again to view the added default value(s).
Answer: This happens because there are additional rows detected for modification/deletion based on Custom Unique Key or All Columns selection. If Custom Unique Key is selected, then it will delete/modify the rows that have exact match of the data in the column selected for deletion/modification. If All Columns is selected, then it will delete/modify the rows that match data in all columns. Hence the duplicate records matching the Custom Unique Key or All Columns will be deleted/modified if Yes is selected. If No is selected, the row that is not saved will be marked for correction.
Answer: The additional context menu options like Right to left Reading order, Show Unicode control characters and so on are provided by Windows 7 in case the keyboard you are using supports right to left and left to right input.
Answer: Following objects are not supported for DDL & DDL and Data operations.
Export DDL:
Connection, database, foreign table, sequence, column, index, constraint, partition, function/procedure group, regular tables group, views group, schemas group, and system catalog group.
Export DDL and Data
Connection, database, namespace, foreign table, sequence, column, index, constraint, partition, function/procedure, view, regular tables group, schemas group, and system catalog group.
Answer: No. Queries will only be committed when COMMIT command is executed in the Terminal.
Auto Commit |
Reuse Connection |
Resultset Save |
---|---|---|
On |
On |
Commit |
On |
Off |
Commit |
Off |
On |
Does not commit |
Off |
Off |
Not supported |
Answer: When you query a temp table from a new SQL Terminal or with the Reuse Connection off, the resultset displays information of a regular/partition/foreign table, if a table with the same name as the temp table exists.
If the Reuse Connection is On, the resultset displays information of the temp table even if another table with the same name exists.
Answer: Following are the operations that do not run in background while the object is locked in another operation:
Operations |
|
---|---|
Renaming a table |
Creating a constraint |
Setting schema on table |
Creating an index |
Setting description in table |
Adding a column |
Renaming a partition |
- |
Answer: Yes. The .xlsx format supports a maximum of 1 million rows and 16,384 columns. The .xls format supports a maximum of 64,000 rows and 256 columns.