Batch Data insertion in oracle

Source: Internet
Author: User

Batch Data insertion in oracle

Once a function was developed, tens of thousands of pieces of data provided by others need to be imported,

There are about 80 thousand pieces of data in a *. SQL file.

Insert into testtable (id, name) values (1, '1') ----- more than 80 thousand

As usual, all the insert into statements are directly copied to a new SQL window in pl/SQL, and the results are stuck.

Then Open pl/SQL ---> File ---> Open ---> SQL Script and directly execute *. SQL File for import. The result remains stuck.

With the help of colleagues, I used another method to solve this problem:

Open pl/SQL ---> File ---> New ----> Command Window ---> input @, press Enter, and select the File where the data to be imported is located (generally *. SQL file) --- execution successful

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.