Ask Your Question
0

Does a statement in MySQL function as a transaction?

asked 2023-07-09 11:03:49 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-09 11:30:02 +0000

pufferfish gravatar image

No, a statement in MySQL does not function as a transaction. A transaction is a group of statements that are executed as a single unit of work, and it must meet the ACID properties to ensure data consistency and integrity. In MySQL, transactions can be initiated using the BEGIN, COMMIT, and ROLLBACK statements.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-09 11:03:49 +0000

Seen: 11 times

Last updated: Jul 09 '23