oracle-sqldeveloper

How do you connect to a MySQL database using Oracle SQL Developer?

不打扰是莪最后的温柔 提交于 2019-12-03 03:25:47
问题 I have Oracle SQL Developer already installed and am able to connect to and query Oracle databases. Using Help -> Check for Updates I was able to install the Oracle MySQL Browser extension but there are no connection options for MySQL databases. 回答1: Under Tools > Preferences > Databases there is a third party JDBC driver path that must be setup. Once the driver path is setup a separate 'MySQL' tab should appear on the New Connections dialog. Note: This is the same jdbc connector that is

Display all views on oracle database

安稳与你 提交于 2019-12-03 02:59:02
问题 Is there a way to display all the views currently set on an oracle database via sql developer? Thanks. 回答1: for all views (you need dba privileges for this query) select view_name from dba_views for all accessible views (accessible by logged user) select view_name from all_views for views owned by logged user select view_name from user_views 回答2: Open a new worksheet on the related instance (Alt-F10) and run the following query SELECT view_name, owner FROM sys.all_views ORDER BY owner, view

How to align query in sqldeveloper 4.0?

随声附和 提交于 2019-12-03 02:49:56
I have query written in sqldeveloper but I don't know how to align or format the query in neat order. P.S: I don't know whether this question can be asked here. Kindly answer if any knows the answer here. Emmanuel Angelo.R I have used Ctrl + f7 to format or align my query in sqldeveloper 4.7 with reference to the above comment from leo. Just right click, select FORMAT option, or, use Ctrl + f7 shortcut to format. If you have not set your own formatting rules, then it would take the default formatting. If you want to configure your own formatting, not many options though, go to Tools >

How to create a small and simple database using Oracle 11 g and SQL Developer?

落花浮王杯 提交于 2019-12-03 02:05:27
How to create a small and simple database using Oracle 11 g and SQL Developer ? I am seeing too many errors and I cannot find any way to make a simple database. For example create database company; Caused the following error: Error starting at line 1 in command: create database company Error at Command Line:1 Column:0 Error report: SQL Error: ORA-01501: CREATE DATABASE failed ORA-01100: database already mounted 01501. 00000 - "CREATE DATABASE failed" *Cause: An error occurred during create database *Action: See accompanying errors. EDIT- This is completely different from MySQL and MS-SQL that

Cannot create a new connection is sqldeveloepr

為{幸葍}努か 提交于 2019-12-03 00:02:22
问题 I am new to Programming. I am learning JAVA and for DB i wanted to learn Oracle so I downloaded sqldeveloper from Oracle website. It was a zip file so I didnot have to install anything, simply extracted it. When I open the sqldeveloper and try to make a new connection, it shows error. Test failed: IO Error: The network adapter could not establish the connection. I am not sure what to put in username and pwd. and i am also not sure if i have to connect this to jdk or jre or set classpath for

Can't open View->DBA Menu in SQL Developer (Oracle 12C Standard Edition Installed)

时光总嘲笑我的痴心妄想 提交于 2019-12-02 23:54:43
I have installed Oracle 12C Standard Edition. Everything works fine there. I have also connected the Oracle SQL Developer Client 4.0. From that I can access the tables, indexes etc. I am trying to see the tablespace details from SQL Developer Client by clicking the View -> DBA menu. By clicking this menu, nothing is getting opened. Through EM I can able to see those. But I want to see through SQL developer. I am not sure, whether I need to do any settings, so that the View -> DBA menu can be opened. Attached Screenshot for reference: Here I am selecting the DBA option under View Menu But I don

How can I keep Oracle SQL Developer from closing the DB connection?

Deadly 提交于 2019-12-02 21:47:11
Is there any way to keep Oracle SQL Developer from closing my DB connections, or to increase the timeout? Sometimes during a long-running query SQL Dev will just close the connection, leaving my query running on the server but me with no results. If I RDP into the server and run SQL Dev locally it never seems to have this problem. This doesn't sound like an issue with SQL developer, cetainly I've never come across it. Are you sure it's not something else, like your network? What happens if you connect from SQL plus from your desktop. I don't have the answer for this, but I'm experiencing the

Where to get this Java.exe file for a SQL Developer installation

…衆ロ難τιáo~ 提交于 2019-12-02 21:37:18
I just installed Oracle 11g, and tried to start Oracle SQL developer so as to start writing queries. It is asking me: Enter the full pathname for the java.exe file . Where do I find this? I did a global search for java.exe and am sure did not get some Oracle related pdf files. Also my Oracle is installed out of users/vas. I found my java.exe that worked for SQL Developer at C:\ORACLE11G\product\11.2.0\client_1\jdk\bin where C:\ORACLE11G is my Oracle Home. The client that I have installed is 11.2.0. Hope this helps. I encountered the following message repeatedly when trying to start SQL

The full pathname of a JDK installation for Oracle SQL Developer

六月ゝ 毕业季﹏ 提交于 2019-12-02 20:30:37
I want to run Oracle SQL Devloper on Ubuntu with this command: sh sqldeveloper/sqldeveloper.sh Then I got this message: Type the full pathname of a JDK installation (or Ctrl-C to quit), the path will be stored in /home/aimad/.sqldeveloper/4.0.0/product.conf So I gave the path of jdk as the following: /usr/lib/jvm/java-7-openjdk-i386/ But then I got this message: Error: Java home /usr/lib/jvm/java-7-openjdk-i386//bin/java is not a JDK. Running SQL Developer under a JRE is not supported. For me it was similar error. I solved it simply by inserting SetJavaHome /usr/lib/jvm/java-7-openjdk-amd64/

SQL Developer with JDK (64 bit) cannot find JVM

时光怂恿深爱的人放手 提交于 2019-12-02 20:18:46
I just wasted one morning trying to get SQL developer to work on my current setup: OS: Windows 8.1 virtual machine running on mac via Parallels. No oracle client or instant client installed No Java installed The reproducible steps are I downloaded SQL Developer for Windows with JDK (all 64-bit) and unzipped it to C:/Program Files/. I double clicked on C:/Program Files/sqldeveloper/sqldeveloper.exe I get the following message: Unable to launch the Java Virtual Machine Located at path: C:/Program Files/sqldeveloper/jdk/jre/bin/server/jvm.dll Can someone please help me? I also tried first