Concepts required for database transactions

Source: Internet
Author: User
I. Basic classes required by database transactions (1 ). sqlConnection is used to connect to the database; (2 ). sqlCommand is the execution of SQL statement commands; (3 ). sqlTransaction is the start of a transaction. 2. transactions are classified as: show transactions, hide transactions, and automatically execute transactions. 3. Key words of database transactions are begin, commit, and rollback. 4:

I. Basic classes required by database transactions (1 ). sqlConnection is used to connect to the database; (2 ). sqlCommand is the execution of SQL statement commands; (3 ). sqlTransaction is the start of a transaction. 2. transactions are classified as: show transactions, hide transactions, and automatically execute transactions. 3. Key words of database transactions are begin, commit, and rollback. 4:

I. Basic classes required by database transactions

(1) SqlConnection is used to connect to the database;

(2) SqlCommand is an SQL statement command;

(3) SqlTransaction is the beginning of the transaction;

2. transactions are classified as: displaying transactions, Hong Kong servers, hiding transactions, and automatic transactions;

Iii. Key words of database transactions:

Begin, commit, rollback;

4. A transaction is a series of SQL statements or SQL operation commands. As a unit of work, the transaction is submitted to the operating system, either successfully executed, on the U.S. server, or fails to be executed;

, Hong Kong server rent

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.