PL/SQL and Oracle SQL Developer
I just downloaded the latest version of Oracle SQL Developer, because I heard that it of free and comes with a debugger.So I have it all set up, I am connected to my database, but I wanted to run a simple example:
I chose to create a new procedure and a new tab open, I have pasted this code and under DBMS output, I clicked on the + to: set serveroutput on
CREATE OR REPLACE PROCEDURE TEST1 As
DECLARE
mytext varchar2(100) := 'Hello world!' ;
BEGIN
dbms_output.put_line(mytext) ;
dbms_output.put_line(mytext) ;
END TEST1;
Yet, I get an error:Source does not have a target executable.
So is - what's it to work only with database objects? Tables? I can't run a simple Hello World?
Please help, thanks!
Published by: Kodiak_Seattle on March 7, 2011 12:06
SQL Developer forum is @ Developer SQL
Tags: Database
Similar Questions
-
Oracle certification: Developer Track
Hi all
I finished the developer of forms of OCP (1ZO - 007, 1ZO-147 & 1ZO - 141) exams. I doubt if there is any different specific examinations for the developer of forms OCP 10 g? If so, pls let me know the codes review too...
Expecting an immediate response...
Thanks in advance...There is no specific certification for Oracle Forms Developer 10 g Certified Professional. Oracle Forms Developer Certified Professional (OCP) is for professionals with skills of developer using Oracle9i and Oracle Forms Developer 10 g forms developer. However, you can write '1Z0-0146, Oracle PL/SQL Developer' examination for the certification of "Oracle Advanced PL/SQL Developer Certified Professional.
More details can be found in the following links:
Oracle PL/SQL and Oracle Forms Developer
http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=155Oracle Forms Developer Guide of the Candidate
http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=176&p_canguid_id=appdev_9i -
I have the Oracle download client which will last about 4 hours and have PL/SQL developer ready to install on my machine.
It is difficult to get this up and running? I never did an installation for this before. What feedback about the balls shows how to install and get running is greatly appreciated.
Hello
No, it is not very difficult.
If you have problems or questions specific to this topic, this is the wrong forum. You'll have best results if you post in the forum of the Installation:
https://community.Oracle.com/community/Developer/English/oracle_database/installation
-
Installation of Oracle and SQL Developer data
Hi, I was looking for some help/advice with regard to the installation of an SQL Developer and Oracle database on a 32-bit Windows 7 computer. I have been asked to create a database to store the data that I create through reports in Excel format, so I'm required to create a local database but do not know how to do this. Also do not know if I install the Express edition or Oracle 11 g R2 database. If someone could please advise on how I can get this has begun or even links/tutorials that guide me in getting this installed with a localhost.
Thanks in advanc.
318f20b8-a3d0-4FB4-bb0f-73785250b7d4 wrote:
Thanks guys, I managed to install Oracle 11 g 2 and I installed a database using dbca tool and I can connect to my database. One thing I noticed is that when I look in my tables in sql developer I see plenty of tables different i.e. def$ _, logmnr_, etc. and I don't know why did I expect an empty table.
Thank you for all your help btw.
One of the fundamentals of relational databases is that they use their own facilities to manage themselves. This means that the database management system uses the database to manage data on the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc.) that an application uses to store application data. See "data dictionary" so there is no such thing as a completely database empty.
As said by others, you do NOT want to create your own tables under patterns oracle (users) or in the disc spaces logics own oracle (esp. SYSTEM and SYSAUX). Create your own account user/schema. Create your own tablespace. Do this by default tablespace for the user.
-
Difference between Oracle database and SQL or SQL Developer +?
Hello
I am very very new to Oracle... Only yesterday I installed Oracle 11 G for learing... I found to create an Oracle database
Oracle Db11gHome1 = > Configuration and Migration Tools = > Database Configuration Wizard
... blah... blah... blah... Success... I created...
But I found the menus
Oracle Db11gHome1 = > application development = > SQL Developer
Oracle Db11gHome1 = > = application development > SQL Plus
And so I get confused... I know SQLSERVER 2008... etc... to create databases... So the above said two is for what purpose?
Anyone can show me a route for this spirit of quarrels?
Thank youHello
Welcome to the world of Oracle.
SQL Developer: http://www.oracle.com/technetwork/developer-tools/sql-developer/what-is-sqldev-093866.html
SQl more: http://docs.oracle.com/cd/B13789_01/server.101/b12170/qstart.htm
These docs will give an initial advance for these tools.
Something in common between these two tools is: both are used to access the Oracle database.
Thank you
Navneet -
Installation of Oracle SQL Developer and Java
I finished installing the Oracle Client without problems. SQL Developer opened for the first time and he asks me the full path Java.exe.
That's fine, but when I entered the java.exe I just don't ask again, no errors. Repeat to infinity.
I have the most recent Java SDK installed and tried the 32-bit and 64-bit versions (jdk 7u4). I even tried to install Oracle Client version 11.1.0 AND 11.2.0 to see if that makes a difference, but it is all the same.
I uploaded a screenshot if that helps: http://i50.tinypic.com/mjtqte.jpg
Any ideas?
Kind regards
Gunnar OskarssonHi Gunnar.
Documentation:
http://docs.Oracle.com/CD/E25259_01/doc.31/e26419/install.htm#sthref8Ideas:
-Do not use java7
-Use JDK JRE not
-On widows, there is a version of SQLDeveloper, including jdk 6 java
-Instant client is not necessary - but if you want to use use at least 11.2.0.2
-SetJavaHome updated to sqldeveloper\sqldeveloper\bin\sqldeveloper.conf to point to the JDK
-There is some confusion about 32-bit and 64-bit operating systems, java and SQLDeveloper, you can search the forum for more details, for example: put on the title: "Unable to start Oracle SQL Developer.-Turloch
SQLDeveloper Forum -
Creation of a new database Oracle and Sql Developer
Hello
I am a newbie to Oracle and and a beginner not so Sql Server and Visual Studio.
I am trying to learn Oracle on my local machine. I want to create a new Oracle database and start learning from here.
I downloaded the Client Oracle sql developer and maker of data. Could someone please provide some guidance on how to create an Oracle database?
From the responses, it seems that none of the articles I've mentioned actually creates a database. SQL Server provides a free download, also a developer version for a small fee. What specific Oracle product would be better to provide this type of service?
Thank you
Mark
Published by: user8948230 on January 7, 2010 09:50You can download the company for educational use via the OTN site. There is also the Express edition, which includes limits on the OTN site as well.
Whatever it is, read the agreements to make sure that you use it properly.
-
The using Excel and Oracle SQL Developer data import - I need help
Dear friends,
I use Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file into XLS format, fields and headers are properly presented and separated, but if I press the button 'Next', it does nothing - it remains stopped.
I did some research here in this forum and it seems to me that when you try to import a file via the XLS format, Developer SQL has bugs. Is this correct?
If I save the same file in the CSV format and try to import the same file, it moves forward, but SQL Developer is not separating headers and fields correctly. It includes all CSV fields into one - say Column0 and fields 1. TEST; 01/01/2000 under the same Column0.
Save the file in the CSV format is not a problem, by taking a little time. But I don't know how to make Developer SQL import correctly. Could someone help me please? Thanks in advance.
Best regards
FranklinThis is a known bug in 1.5.1 so use 1.5.0 to import from Excel.
With respect to the CSV, make sure that you have the right setting in the Preferences - Database - settings of export of genres - delimiter of export custom .Have fun
K. -
MS Access 2010 and Oracle SQL Developer Version 4.0.3.16 error
OS: Windows 7 Enterprise
System type: 64-bit operating system
I can't MS Access 2010 to work/open with SQL Developer version 4.0.3.16.
ERROR when connecting to MS Access 2010 test
"Status: failure Test failed: [Microsoft] [ODBC Driver Manager]" Data source name not found and no default driver specified".
I added the 32-bit for MS Access ODBC data source I try to use with SQL version 4.0.3.16 with the "C:\Windows\SysWOW64\odbcad32.exe" application developer, but I still don't have the same error.
I seems that Developer SQL version looking 4.0.3.16.is the 64-bit driver (ODBC Data Source) and I have no idea of directing SQL Developer version 4.0.3.16 to use the 32-bit driver (ODBC Data Source) when opening MS Access 2010
Thanks in advance for your advice.
the on-board jdk is 64-bit. To actually install a JDK 7 Java 32 bits, and then configure sql developer to use this JDK
OR
go back and get the 3.2 with a JDK embedded sql developer - it is a 32-bit, a
-
Oracle 11g XE and SQL Developer
Hello:
Very new here. I don't know where to post anything. My apologies, but I'm all over the room.
I installed 11g and downloaded SQL Developer (not even sure if it should be "installed" because it's just a zip file).
In any case, on the SQL command line I get SYSTEM CONNECT, then my password. I get the following error:
ORA 12154: TNS could not resolve the connect identifier specified.
Also, the "get started" link not working anymore. Don't know what's happening, or if it is specific to my laptop. I tried to connect two days without result.
Thanks for any help.
Your headset does not work: OracleXETNSListener service started?
-
Play with Oracle SQL developer configuration and its debug mode
Greetings from a newbie, ask simple questions:
1. I'm trying to run sql scripts using sql developer without actually connecting to the database, which makes a fake link in order to check if the syntax of the scripts is correct. Can I do this?
2. Furthermore, I try to play with its CONF file, and I have a difficulty to understand the language that is using. What language is this? I can only guess "sqldeveloper - debug.conf ' is performed when I put ' IncludeConfFile sqldeveloper - debug.conf" in sqldeveloper.conf. But I don't really know how these configuration files. Could you give me some tips to learn this?
Best regards
ValerieNo, Developer SQL does not parse the SQL statements, just them sends to the server and presents the results with you.
As for the syntax of the configuration files, no idea. You might have more luck the {forum: id = 260} forum.
-
Oracle SQL Developer to the database unifying connection
Hello community!
I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?
I can get the following information of Oracle BI Publisher, see Exhibit A.
I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.
Your help is highly appreciated
Concerning
Amir
Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.
In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.
-
Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20
Hello
First of all, thanks a lot for developers for this great tool.
I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.
In the 12 c database, I created the following table:
CREATE
TABLE MMOURA. TEST_TABLE
(
NUMBER OF ID_TEST_TABLE (10) NOT NULL
DATE_TEST_TABLE DATE NOT NULL
)
ORGANIZATION HEAP PCTFREE 10
LOGGING NOCOMPRESS NO INMEMORY
NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;
I import with Data Modeler and add the partition:
CREATE
TABLE MMOURA. TEST_TABLE
(
NUMBER OF ID_TEST_TABLE (10) NOT NULL
DATE_TEST_TABLE DATE NOT NULL
)
ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION
(
DATE_TEST_TABLE
)
INTERVAL OF
(
NUMTOYMINTERVAL (1, 'MONTH')
)
(
PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS
)
NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;
So I can create a partition and generates the correct code.
I click on "Synchronize data dictionary with model" and see the differences with the model and the database.
In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.
"Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."
But when I click on 'Overview of DOF', theres no changes:
-Generated by Oracle SQL Developer Data Modeler 4.1.3.901
-in: 2016-01-14 14:19:50 BRST
-site: database Oracle 12 c
-type: Oracle Database 12 c
-Oracle SQL Developer Data Model Summary Report:
--
-CREATE TABLE 0
-CREATION OF INDEX 0
...
...
In the tool preferences, model, synchronization, it is marked:
FUNCTION
PACKAGE
PROCEDURE
ROLE
SEQUENCE
SYNONYM
TABLESPACE
In "Import Options", it is marked:
Partitions
Triggered
What I am doing wrong? Is this some sort of bug?
Hi Marcio,
I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.
Kind regards
David
-
After...
- installing Oracle 12 c
- decompression SQL development 4.1.2
- by clicking on "sqldeveloper.exe".
... I am able to create a new connection:
Then, I'm supposed to create a new user. (Just FYI: it comes from an old assignment which I finally finished by using MS SQL Server.) But I'm still confused what I did wrong here...) My instructions everything first, run me the following command (as far as I can tell to create the user in the corresponding container):
Problem: After having successfully performed this command, other actions involving the connection causes the following error message:
After spending hours reinstalling Oracle and try different things (inspired by manuals and online forums) that never significantly improved situation, any kind of help are much appreciated!
The exception is indicative that the PDB is NOT open.
A "start" command does NOT open all of the default Database. When you first installed 12 c and created a sample DB installation process open. You likely judgment of the DB and pc - then you started the pc and the DB started automatically but then ONLY the root/CBD is started.
You logged in as SYS to the root/CBD and together the container to the PDB but the PDB is not open.
Multitenant has MANY differences from earlier versions and you just stumbled upon one of them. You have two options
1. create a trigger AFTER STARTING that opens the PDB files to automatically open
2 open the PDB manually - "ALTER PLUGGABLE DATABASE ALL OPEN;"
I answered SEVERAL times in the multitenant forum answering the same basic issue. See for example my answers in this thread
Re: creating new users in oracle 12 c
Now for the advice, that no one ever seems 1) want to hear, 2) take seriously or 3) actually do.
RTFM - with 12 multitenant c, that you will continue to have similar problems, until you read and understand the multi-tenant architecture.
I recommend you first read chapters 17 and 18 of the doc of Concepts on the new 12 c multitenancy.
http://docs.Oracle.com/CD/E16655_01/server.121/e17633/part_consol.htm#CHDGDBHJ
There are 3 or 4 relevant threads in the forum shared that have chunks of that info. So if you want you can read these threads, my answers and links I provide still other threads:
12 c: ORA-65049: creating local user or role is not permitted in the CBD$ ROOT
-
Non-Oracle DB with SQL Developer
I wonder if any body knows if the SQL Developer "Requester" can work with databases non-Oracle? (using connection drivers we can connect to a database)
I have to work with Teradata now, but the Oracle tool was perfect for me, now I want to use this tool to make complex queries.
Any advise?
I remember well, version 3.0, SQL Developer under license from a third-party tool (see ActiveQueryBuilder.jar) to replace the old Query Builder. This tool offers support for several flavors of SQL on several RDBMS platforms. The problem was, our team began to hear about problems with the query designer on the Oracle RDBMS as well as issues with more complex Oracle SQL queries which does not correctly handle the third-party tool.
For various reasons, including limited control on bug fixing by the third party and emphasizing the support of third-party RDBMS Oracle migration, it was decided to take the position Query Builder provided as a tool for Oracle SQL non-expert programmers.
I do not exactly remember when support for Oracle NON-SQL got off, but you can start with the 3.2.2 version to see if that allows him to always...
SQL Developer downloads version 3.2.2
.. .and chain backwards (see the link at the bottom of the page) to a previous version if necessary.
Hope this helps,
Gary
SQL development team
Maybe you are looking for
-
I need to update my browser safari - confused how
I asks me to upgrade my browser safari - confused on how to install currently have 5.0.6
-
Satellite Pro C660-1JL - how to change the language of Windows 7?
Hello I bought Toshiba preinstalled official Windows 7 Professional 64 service Pack 1. And I would like to change the language from German to the Russia.In accordance with the instructions of the microsoft home page I could not get the result. MUI Pa
-
Old computer reinstalled XP cannot connect to the internet. Could not find the iexplore
I have an old computer. I reinstalled Windows XP on it about 30 days ago. I can't connect to the internet. I bought 2nd hand computer and I bought my own version of XP directly from Microsoft. I can't activate. I can not even find iexplore. Any
-
Hello guys, I have a question: no reason, my laptop appears dead, light up when I plug the power cord of the circle of light in the hole for the power cord, but no power no led on laptop, and when I press the button / stop does nothing. I did NOTHING
-
HP Officejet Pro 8000 Wireless will not be printed with the iPhone 5 s
This printer as wireless that I bought used printing with IPhone or iPad in 2011 because is not on the list of Air printing devices so I was told by HP to buy a new and as it was not equipped "Eprint" HP app which is there to deal with it will not wo