脚踏实地、勇往直前!
全部博文(1005)
分类: Mysql/postgreSQL
2013-11-14 22:02:27
mysql> SET GLOBAL log_bin_trust_function_creators = 1;
-> //
Query OK, 0 rows affected (0.00 sec)
mysql> CREATE FUNCTION hello (s CHAR(20)) RETURNS CHAR(50)
-> RETURN CONCAT('Hello, ',s,'!');
-> //
Query OK, 0 rows affected (0.00 sec)
-- The End --