First I created a table like
CREATE TABLE Customer ( SD integer CHECK (SD > 0), Last_Name varchar (30), First_Name varchar(30) );
try with set sql_mode = 'STRICT_TRANS_TABLES' OR SET sql_mode='STRICT_ALL_TABLES'
set sql_mode = 'STRICT_TRANS_TABLES'
SET sql_mode='STRICT_ALL_TABLES'