MARIADB DATETIME Переход на микросекунд
create function example(x datetime(5)) returns time(4)
begin
declare y timestamp(6);
return cast(x as time(2));
end;
Bad Bird
create function example(x datetime(5)) returns time(4)
begin
declare y timestamp(6);
return cast(x as time(2));
end;