CREATE FUNCTION printDate ()
RETURNS varchar(45)
BEGIN RETURN
DATE(DW)+ ' , ' +
DATE(DAY)+ ' , ' +
DATE(MONTH)+ ' , ' +
DATE(YEAR);
END;
AT first was showing ERROR 1418 & failed applied. Then showing successfully applied but showing “Error getting DDL for object” “FUNCTION printDate does not exist”
and no function showing in the database