Erro ao rodar funcão no Mysql Workbench

1 resposta
B

Pessoal, estou tendo erro nessa parte de rodar a função.
DELIMITER //
create function fn_teste (a decimal(10,2),b int)
returns int
return ab;*
//

O seguinte erro é esse ERROR 1418 (HY000): 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)

Como arrumar?

1 Resposta

B

RESOLVIDO!!! O problema.

Criado 18 de novembro de 2020
Ultima resposta 24 de nov. de 2020
Respostas 1
Participantes 1