Insert data into the database (ORACLE) through excel

Source: Internet
Author: User

Insert data into the database (ORACLE) through excel

We all know that PL/SQL can copy data to excel, and we can also insert data to the database through excel.

The following is a simple example and example.

First, create a table named test.

Create table test (

Id NUMBER

);

Run the following statement:

SELECT * FROM test for update;


And click the lock


Then we copy a column of numeric data in excel.


Select the column name id in the PL/SQL query results, and press ctrl + v to paste the above data.


Click the Green Arrow <Strong? Http: www.bkjia.com kf ware vc "target =" _ blank "class =" keylink "> VcD4KPHA + kernel/yc3qs8nP8sr9vt2/4rLlyOtleGNlbLXEyv2 + kernel/CzbzL + cq + veG5 + zwvcD4KPHA + pgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20140918/2014091809240144.png" alt = "">

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.