I am generating mailing labels with SSRS and I have a stored procedure which adds records to an events table to record which labels were generated.
I want to execute the stored procedure using the parameters specified for the mailing labels.
The parameters are @BeginningDate and @EndingDate.
The stored procedure is: pWellEventHistoryAddExpirationNotices
I am looking for what code I will use and where I need to put the code.