ESQL act = batch processing, esqlactbatch

Source: Internet
Author: User

ESQL act = batch processing, esqlactbatch

Batch insert data for MySQL, SQLServer, Oracle, DB2, Vertica, and other system-level databases.

Example:Insert 1000 records to the table from 1 to 1000

<Html> <title> Add one thousand records </title> <chtml> <for start = 1 end = 1001> <esql module = mysqlmodule act = batch> Insert Into MyTab (num) values ('@ {for: getSuffix}') </esql> </for> </chtml> Note: When act = batch is used, insert statements of the same structure are merged into a session that interacts with the database and submitted to the database for execution at the end of the page, usually, when a large amount of data needs to be loaded into the database through the application layer. 

Create a table by yourself. Try it yourself!

Download and description of light platform Resources

Platform free download: http://download.csdn.net/detail/tx18/8381859

Latest Development Manual download: http://download.csdn.net/detail/tx18/8411089

Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585

The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please pay attention to the latestDevelopment Manual


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.