MySQL Forums
Forum List  »  Stored Procedures

I am getting error while creating functions?
Posted by: gube lakshmanan
Date: January 03, 2006 12:18AM

Hi,

I create this below function :
mysql> CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50)
-> RETURN CONCAT('Hello, ',s,'!');
-> //
But , i am getting the error :

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)

Please Help me.

Options: ReplyQuote


Subject
Views
Written By
Posted
I am getting error while creating functions?
2131
January 03, 2006 12:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.