UNION with a stored procedure

前端 未结 0 666
遇见更好的自我
遇见更好的自我 2021-01-27 17:16

This is what I am trying to do

EXEC sp1 1

SELECT * FROM x 
UNION
if(@num <= 1)
EXEC sp1(2)
else
null //want to return null to stop 

I could d

相关标签:
回答
  • 消灭零回复
提交回复
热议问题