I have a stored procedure with input and output parameter.
CREATE PROC [dbo].[pr_MySP]
@date DATETIME,
@usd MONEY OUTPUT
WITH ENCRYPTION
AS
BEGIN
...
END
GO
This stored procedure call another stored procedures, so I can't create UDF to do it. And now I need to use this proc result as column in another select. Somethin like this
select *, ([dbo].[pr_MySP] result) from ...
Is there any way to do this?