Using TRANSACTION and COMMIT : TRANSACTION COMMIT : Transaction SQL / MySQL


SQL / MySQL » Transaction » TRANSACTION COMMIT »

 

Using TRANSACTION and COMMIT



Drop table Books;


CREATE TABLE Books
(
   ID SMALLINT NOT NULL PRIMARY KEY,
   Title VARCHAR(60NOT NULL,
   Copyright YEAR NOT NULL
)
ENGINE=INNODB;


START TRANSACTION;
INSERT INTO Books VALUES (1'Poet', 1934);
INSERT INTO Books VALUES (2'Ohio', 1919);
COMMIT;

select from Books;

           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

SQL / MySQL

 Navioo Transaction
» TRANSACTION COMMIT