Parameters of VB Connection database conn. Open

Source: Internet
Author: User
Conn. Open MySQL, Conn, a, B
Parameter A is the type of the Set cursor, and its value is:
0: Only forward cursor. Only forward browsing records are supported. pagination, recordset, and bookmark are not supported.
1. keyset cursor. The changes made by other users to the record will be reflected in the record set, but the addition or deletion of records by other users will not be reflected in the record set. Supports paging, recordset, and bookmark
2. dynamic cursors are the most powerful, but consume the most resources. The added or deleted records modified by the user on the record description will be reflected in the record set. Supports full-featured browsing.
3. The static cursor is only a snapshot of the data. The changes, additions, or deletions to the record statement by the user will not be reflected in the record set. Supports moving forward or backward

Parameter B is the lock type of the record set, and its value is:
1. Lock type. The default value is read-only and cannot be modified.
2. Lock the record immediately when editing. The safest way is
3. the record set is locked only when the update method is called. Other operations can still modify, insert, or delete the current record.
4. The record will not be locked during editing, and modification, insertion, and deletion are completed in batch processing mode.

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.