Inserting data into the database (ORACLE) via Excel

Source: Internet
Author: User

We all know that PL/SQL can copy data to Excel, and we can also insert data into the database via Excel.

Let's take a simple example with a demo

First, we create a table test

CREATE TABLE Test (

ID number

);

Then we execute the following statement

SELECT * from test for UPDATE;


and open the lock.


Then we copy a column of numeric data in Excel.


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


Click on the green Arrow

and commit commits to complete the task of inserting Excel data into the database

Execute Selext * from test; get results as shown


Inserting data into the database (ORACLE) via Excel

Related Article

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.