Change the proc to print not execute the dynamic SQL and run it with exactly the parameters that result in the error every 2 weeks
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability