Solved

how to execute multiple insert statements in sql developer 1.2.1

Posted on 2010-08-17
5
1,601 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
  • 2
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 250 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 50 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to recover a database from a user managed backup
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

813 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now