· 7 years ago · Sep 14, 2018, 02:56 PM
1Creating a table in mysql stored procedures
2delimiter //
3 drop procedure if exists gm //
4 create procedure gm()
5 begin
6
7 create table errorMessages (
8 error_id int not null auto_increment,
9 message varchar(200) not null default '',
10 primary key(error_id)
11 );
12
13 end //
14 delimiter ;
15
16call gm();