Answers for "check en phpmyadmin"

SQL
0

phpmyadmin CHECK

BEGIN
    IF (DATEDIFF(CURRENT_DATE(),NEW.birth_date) < 6570) THEN

      -- Throw Exception
      SIGNAL SQLSTATE '45000' 
        SET MESSAGE_TEXT = 'Age is less than 18 years!';

    END IF;  -- A semicolon (delimiter) is missing here
END
Posted by: Guest on May-24-2020

Code answers related to "check en phpmyadmin"

Code answers related to "SQL"

Browse Popular Code Answers by Language