Stored Procedure Help

Hi all,

So I've got a stored procedure. It worked fine yesterday. I ran the procedure dozens of times yesterday and I ran the report the procedure is for dozens of times yesterday. New report and it was pretty much done. We've all been there, right? Then I realized I didn't have a zip mask on the postal code, so I went back and added that to the sp.

I go back to testing the report today thinking I'd just be tweaking formatting and now the same procedure run with the same parameters has no results. I tried copying the sql from the sp and running it in pieces to see where it goes wrong, expecting there to be some faulty join I missed somewhere, or something else I must've changed and not remember. But when I run ALL the sql from the stored procedure, including all variables with the same test values, I get the results I expected. Same results as yesterday (plus the zip mask). But running the procedure gets nothing.

Does anyone have any idea how that might happen?

Parents Reply Children
No Data