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;
相關文章
相關標籤/搜索