mysql 自定义函数(2)操做sql语句

一、操做select 语句:web drop function if exists hello; create function hello(a int) returns varchar (255) begin declare x varchar(255); select `name` into x from gl_dept where id = a; return x; end;
相关文章
相关标签/搜索