• Is the code not in the window about the results?

    eg, I just right clicked and ran this sp. Above the results window I can see

    USE [Reporting1213]

    GO

    DECLARE@return_value int

    EXEC@return_value = [dbo].[Finance_AvB_Accom_Summary]

    @tomonth = N'October'

    SELECT'Return Value' = @return_value

    GO

    If I want September, I change October to September. Is this the kind of thing you are looking for?

    Bex