Selecting columns from a MYSQL routine result -
i have routine called sp_getalldata
, want select 2 columns col1
, col2
resultset of routine.
i've tried
select col1, col2 (call sp_getalldata())
but invalid. options?
you cannot use stored function data source in mysql. mysql not supports table functions. can write stored procedure select statement , call procedure output result-set.
Comments
Post a Comment