Re: Mysql 8 stored procedure
Quote
Put this command into an execute window!
CREATE TABLE zozo0615.proba (
onefield bigint NOT NULL AUTO_INCREMENT,
twofield int NOT NULL DEFAULT '0',
PRIMARY KEY (onefield)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=UTF8 SELECT "" AS threefield SELECT "" AS three
You will get a table with 3 fields because of a semicolon is missing between two command .
I do not find that on 5.6 or 8.0. Both respond with ...
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT "" AS three' at line 5
Subject
Views
Written By
Posted
1348
June 12, 2020 12:47AM
620
June 12, 2020 12:52AM
495
June 12, 2020 03:01AM
506
June 12, 2020 11:17AM
504
June 14, 2020 01:39AM
390
June 14, 2020 10:53AM
483
June 15, 2020 06:13AM
Re: Mysql 8 stored procedure
553
June 15, 2020 12:29PM
513
June 15, 2020 12:46PM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.