create procedure myproc()
as
begin
echo select * from mytable;
end
and it will echo back multiple rows to your client. It’s just one extra keyword. Is that the kind of thing you’re asking for? If not, please say more about what you’re trying to do.
I am trying to execute the stored procedure in the Memsql Db , we still don’t allow use of User Defined Variables inside Stored Procedure. clause i.e. myaccountaccess you are trying to use UDVs in a non-LOAD DATA query log all queries in query log in tracelog folder.
@walternatalydo65 you can’t use user-defined variables that start with ‘@’ inside UDFs or SPs, but you can use regular variables, which you would define in the DECLARE section.