Posts by M. Martins • 71 points
2 posts
-
5
votes1
answer166
viewsQ: What are these sql modes for in mysql?
Here is the code: SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES'; SET SQL_MODE=@OLD_SQL_MODE; SET…
mysqlasked M. Martins 71 -
2
votes1
answer47
viewsQ: Using the Handler function is skipping the ids. How do I make it not happen?
Take the example: create table time( id int not null primary key auto_increment, nome varchar(50) unique )engine=innodb; delimiter $$ CREATE PROCEDURE insertteam (nometime varchar(50)) begin declare…