create function hello
(
s varchar(20)
)
returns varchar(50)
begin
select count(*) into @v from tb; -- note : @v is a user variable return concat('hello',s,'!');
end
(
s varchar(20)
)
returns varchar(50)
begin
select count(*) into @v from tb; -- note : @v is a user variable return concat('hello',s,'!');
end
(
s varchar(20)
)
returns varchar(50)
begin
select * from db //这样写有错吗! return concat('hello',s,'!');
end