Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to execute multiple insert statements in sql developer 1.2.1

Posted on 2010-08-17
5
Medium Priority
?
1,794 Views
Last Modified: 2013-12-07
oracle sql developer seems not to allow multiple insert statements to be executed at once.

can please someone teach me how can this be done, if at all can be possible?

right now i am running only 88 statements manually, but that number can increase to over 500.
sampleFile.TXT
0
Comment
Question by:itortu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 1000 total points
ID: 33459082
Check out:
http://searchoracle.techtarget.com/feature/How-to-use-SQL-Developer-to-run-SQL-statements

How to enter and execute a SQL script

A SQL script is a file that contains one or more SQL statements.
0
 
LVL 23

Assisted Solution

by:paquicuba
paquicuba earned 200 total points
ID: 33460957
To run all statements on your Worksheet press:  F5

To run one single statement, place your cursor on the target statement and press: F9
- statements must separated by ";" or "/"
- If statements are not separated by ";" or "/" then you must highlight the whole statement.

To run an Explain Plan press: F10

To run Autotrace press: F6
0
 

Author Closing Comment

by:itortu
ID: 33464641
Thank you guys, both.

By the way, do you have any links to samples or code examples on how this can be done programmatically?
0
 
LVL 23

Expert Comment

by:paquicuba
ID: 33469270
Using SQL Developer? I haven't seen that. You can for sure achieve it using SQL*Plus...
0
 

Author Comment

by:itortu
ID: 33469609
can it be done using pl/ sql? in sql developer?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question