你是如何写的?
存储过程里面不能直接select ... from ,而是select ... into ... from ...
另外必须有足够的权限。