Skip to content
Advertisement

What is the equivalent of ‘go’ in MySQL?

In TSQL I can state:

insert into myTable (ID) values (5)
GO
select * from myTable

In MySQL I can’t write the same query.

What is the correct way to write this query in MySQL?

Advertisement

Answer

Semicolon at the end of the statement.

INSERT INTO myTable (ID) values (5);
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement