我想先运行以下过程:
exec ep_upd_server_abc
然后执行以下语句:
SELECT * FROM dbo.Server_Warehouse
WHERE Enabled = 'f' and disabledweekly = 'f'
我可以在 SSRS 查询生成器中编写以下过程,以便我可以执行两条语句吗?
CREATE PROCEDURE ShowDBJob
As
Begin
exec ep_upd_server_abc;
SELECT * FROM dbo.Server_Warehouse
WHERE Enabled = 'f' and disabledweekly = 'f'
End
有解决办法吗?
我尝试在 SSRS Query Builder 中运行它,但它给了我一个错误。将不胜感激任何想法和建议...谢谢!