oracle-sqldeveloper

How to increase buffer size in Oracle SQL Developer to view all records?

可紊 提交于 2020-07-17 03:18:09
问题 How to increase buffer size in Oracle SQL Developer to view all records (there seems to be a certain limit set at default)? Any screen shots and/or tips will be very helpful. 回答1: https://forums.oracle.com/forums/thread.jspa?threadID=447344 The pertinent section reads: There's no setting to fetch all records. You wouldn't like SQL Developer to fetch for minutes on big tables anyway. If, for 1 specific table, you want to fetch all records, you can do Control-End in the results pane to go to

Cannot establish connection with AWS RDS Oracle database instance from Oracle SQL Developer

主宰稳场 提交于 2020-07-10 09:27:19
问题 I created an Oracle database in the AWS RDS console. I'm unable to connect to it from the Oracle SQL Developer program despite following all the instructions in the Amazon Developer Guides (see item #3 in this webpage in particular). I get this error: IO Error: the network adapter could not establish the connection (vendor code 17002). I have opened Port 1521 in my firewall settings. Screenshots of my SQL Developer connection properties pane and the database properties from the AWS RDS

Difference between IAM , IDCS and OCI in Oracle cloud

烈酒焚心 提交于 2020-07-09 14:51:26
问题 I am getting confused on these 3 terms. What I know OCI is infrastructure provided by Oracle, IAM is user and IDCS is Identity cloud service. But I dont understand differences and terms. Is IAM user and normal user are same? is OCI and IDCS are same? What exactly IDCS is? 回答1: First of all OCI refer to Oracle Cloud infrastructure and it's cloud computing solutions same as MS azure or amazon AWS, but offered by Oracle and it's providing various services such as servers, storage, network,

How read a value in pl/sql procedure?

左心房为你撑大大i 提交于 2020-06-28 10:36:18
问题 I am having problem regarding to scan a value in a pl/sql procedure. When I have execute the procedure, it ignores the a:='&a'; . Procedure Body create or replace PROCEDURE Testing IS a VARCHAR2(3); BEGIN DBMS_OUTPUT.PUT_LINE('Enter a : '); a:='&a'; END Testing; Procedure Calling SET SERVEROUTPUT ON; cl scr; Execute Testing; Output PL/SQL procedure successfully completed. Enter a : Can anybody help me, please!? 回答1: In SQL*Plus we have the prompt and accept syntax, but there is no direct way

Open SQL Developer from command line with parameters (connectstring, user, passwort…)

与世无争的帅哥 提交于 2020-06-23 03:32:05
问题 is it possible, to open the Oracle SQL Developer 4 from command-line with parameters (e.g. Connectstring, SID, Host, user, password, ...)? I want to run it out from KeePass and i want to handover these parameters to access the database. Thanks. 回答1: No, that's not possible with SQL Developer (the GUI), but our command-line interface, SQLcl does support that. 来源: https://stackoverflow.com/questions/24952519/open-sql-developer-from-command-line-with-parameters-connectstring-user-passw

SQL Developer doesn't display XML

北战南征 提交于 2020-06-14 08:36:01
问题 Oracle's SQL Developer doesn't display the content of XML columns when the datatype XMLType is used. The first lines are displayed ok (if Preferences > Database > Advanced > Display XML Value in Grid is ticked), but once you doubleclick on the little yellow pencil, the "View Value" window remains empty. Curiously, it works if you store the XML in a clob. CREATE TABLE t (x XMLTYPE, c CLOB); INSERT INTO t VALUES (XMLTYPE('<x/>'), '<x/>'); COMMIT; SELECT * FROM t; After a lot of internet search,

SQL Developer doesn't display XML

社会主义新天地 提交于 2020-06-14 08:35:51
问题 Oracle's SQL Developer doesn't display the content of XML columns when the datatype XMLType is used. The first lines are displayed ok (if Preferences > Database > Advanced > Display XML Value in Grid is ticked), but once you doubleclick on the little yellow pencil, the "View Value" window remains empty. Curiously, it works if you store the XML in a clob. CREATE TABLE t (x XMLTYPE, c CLOB); INSERT INTO t VALUES (XMLTYPE('<x/>'), '<x/>'); COMMIT; SELECT * FROM t; After a lot of internet search,

Oracle SQL CASE WHEN ORA-00932: inconsistent datatypes: expected CHAR got NUMBER 00932. 00000 - “inconsistent datatypes: expected %s got %s”

这一生的挚爱 提交于 2020-06-12 06:05:08
问题 Getting error ORA-00932: inconsistent datatypes: expected CHAR got NUMBER 00932. 00000 - "inconsistent datatypes: expected %s got %s" When i run the following query SELECT distinct CASE when t.cancelled = 'TRUE' then '0' else t.amount END AMOUNT, FROM table t If i run it with either a number or text for the else output, like this, it works. SELECT distinct CASE when t.cancelled = 'TRUE' then '0' else 'xxx' END AMOUNT, FROM table t 回答1: Use 0 instead of '0' . Amount is a number, and numbers

Can we add the custom MIME Type in Oracle Sql Developer client, and is there a tool for it?

二次信任 提交于 2020-06-01 05:51:06
问题 The location in question is Tools> Preferences> External Editor in the Oracle SQL Developer. Currently, there are limited mime types in the External Editor option. I want to add some more like application/zip. An image of the External Editor section: 回答1: No, you can't add Mime types. All you can do is to set/change editors you'll use to work with types already provided in preferences. 来源: https://stackoverflow.com/questions/61916024/can-we-add-the-custom-mime-type-in-oracle-sql-developer

Oracle Database create automatic partition by range (long)

亡梦爱人 提交于 2020-06-01 05:05:25
问题 I need a lot of partition table from one of my col table and dataType is long so I don't think can do it with hardcode in Sql syntax , now my question is what can i do for partition tables with range of long and automatic keyword in oracle database 19c? Edit : I have Timestamp formated in long and I don't want to change it date type timestamp so I need every month split to separate partition I will convert all timestamp to long and store in database (because i need to reformat my timestamp to