Solución Error 1418 Workbench


Error Code: 1418. This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)

-Ejecutar en Workbench:

o añadir DETERMINIST, NO SQL o READS SQL DATA a la sentencia sql.
Ejemplo con DETERMINIST: