Hello!
I have sql stored procedure which pass and return some values:
CREATE PROCEDURE [dbo].[GetMoney]
@userId int,
@month DateTime
AS
BEGIN
....
Select @something
END
I want to call GetMoney procedure for each user in users table and use results in sql query. How can i do it?