oracle-sqldeveloper

ora-12505 error while connecting via SQL Developer

和自甴很熟 提交于 2019-12-10 16:48:24
问题 I'm trying to connect remotely to Oracle 12c database with SQL Developer. In order to connect remotely from another computer, on the computer running Oracle I opened a port in the Windows 7 Firewall. That part worked, but now the listener isn't letting me in due to this error ORA-12505. It is saying it doesn't recognize the SID I provided when I try to connect with SQL Developer in the remote computer. I even tried setting service name to "editor", but still nothing. Following are the setting

Printing Oracle Sys_refcursor in Oracle SQL Developer 1.5

a 夏天 提交于 2019-12-10 15:57:50
问题 I am trying to execute the procedure which returns a sys_refcursor as output. The procedure is PROCEDURE GET_EMPLOYEEs(P_ID in NUMBER, P_OUT_CURSOR OUT SYS_REFCURSOR); I wrote the below anonymous block in SQL Developer 1.5 and its executing fine,but when I try to print the cursor, I am getting an error. The cursor returns emp_name,salary and other columns. set serveroutput on; declare result sys_refcursor; begin emp.emp360_utils.GET_EMPLOYEEs(222334,result); dbms_output.put_line(result); //

How to start Oracle SQL Developer 4 using 32 bit JDK on Win 64?

梦想的初衷 提交于 2019-12-10 14:49:48
问题 I need to connect to a database and use a wallet file. If i try with my SQL Developer i end up with "ocijdbc.dll: Cant load IA 32bit .dll on a AMD 64-bit platform." I have both installed JDK 32 bit (in C:Prog32bit) and JDK 64 bit (C:Prog) for development. I tried to set JavaHome in sqldeveloper/bin/sqldeveloper.conf manually SetJavaHome C:\Program Files (x86)\Java\jdk1.7.0_51 My next step was to edit %USER_HOME%/sqldeveloper/sqldeveloper.conf and I set SetJavaHome there too, but none didn't

SQL Developer 4.0.2 install on Windows 7 64 bit

一笑奈何 提交于 2019-12-10 12:09:14
问题 I made a few of them on the computer I got the same error. could not figure out this question. sql developer normally opens but then the image begins to fade. not clicked on anything. system is unwieldy. buttons as the picture opens. The two buttons at the same time seems to be open 回答1: thanks you very much... SQL Developer 4.0.2 install on Windows 7 64 bit screen solution 来源: https://stackoverflow.com/questions/24553391/sql-developer-4-0-2-install-on-windows-7-64-bit

java.sql.SQLRecoverableException - reconnect from jdbc

旧城冷巷雨未停 提交于 2019-12-10 11:37:33
问题 In my application which uses Apache JDBC connectivity to connect to a database, I am occasionally getting "java.sql.SQLRecoverableException". After searching on the root cause, I was able to learn it might be caused due the termination of connection from the oracle server end. I am using oracle 11G version. Now my requirement is that I have to make sure the connection is still valid and not terminated before executing any query. I need to establish a new connection if the connection was

Found an Unknown Relational Diagram Symbol in Oracle SQL Developer

情到浓时终转凉″ 提交于 2019-12-10 11:19:33
问题 I am using Oracle SQL Developer (the table modeling part) and I have found a symbol that I can't seem to be able to find an explanation for anywhere online: I have been searching for a while now, and I'm at a total loss. I'm not sure what caused it in the first place, but I was hoping someone here might have seen it before and have an explanation. 回答1: You tricked me, or I would have answered this much sooner. That's not an 'ER' symbol. ER = Entity Relation. That symbol is from the relational

Find the source of data for certain table - ORACLE

*爱你&永不变心* 提交于 2019-12-10 10:27:28
问题 This might be trivial question. But as I am working on a DB that was created by others long time ago, no proper documentation or comments included, I came a cross a critical question, I need to know how data is being inserted into certain table? Is there any script or other methods that can identify the data source. In other words, I need to know whether data is inserted via some procedure, function, manually ... etc. I cannot search all procedures or functions, they are hundreds. I am using

Access and Filter predicates in Oracle execution plan

穿精又带淫゛_ 提交于 2019-12-10 03:16:53
问题 What is the difference between Access and Filter predicates in Oracle execution plan? If I understand correctly, "access" is used to determine which data blocks need to be read, and "filter" is applied after the blocks are read. Hence, filtering is "evil". In the example of Predicate Information section of the execution plan below: 10 - access("DOMAIN_CODE"='BLCOLLSTS' AND "CURRENT_VERSION_IND"='Y') filter("CURRENT_VERSION_IND"='Y') why "CURRENT_VERSION_IND" is repeated in both Access and

Oracle Database import .sql file by command prompt

别说谁变了你拦得住时间么 提交于 2019-12-09 15:39:42
问题 I want to import .sql file in Oracle by command prompt so please tell me that command to import .sql file in oracle in MYSQL I am using it like this mysql -u root -p -h localhost softpoint < D:\Nisarg\NEult\softpoint.sql but In Oracle I don't know how to use this utility so please help me Thanks 回答1: In Oracle, to run a script ( .sql) you use SQL PLUS command line utility. c:\> sqlplus user_name/user_password@connect_string @path\your_sql.sql 回答2: Try to use sqlplus : sqlplus user/password

When SQL Developer is idle I lose my connection

江枫思渺然 提交于 2019-12-09 08:23:48
问题 My problem is this: I am running Oracle 10G on windows 98 on a virtual machine using VMWare on my desktop computer. I can connect to several users (SYS, HR, OE, ... ) with SQL Developer (which is on my desktop not on the virtual machine) but if a don't run any SQL statement for a short while, say about 2 minutes, I lose my connection and get an error like connection closed or IO-fault:connection reset by peer. Could this have anything to do with the sp_reset_connection? When I open SQL Plus