MyProc has been compiled without the highest level of code optimizations because it has too many statements. SQL query optimizations are still in effect. Consider splitting the function into multiple functions, each with under optimize_stmt_threshold statements.
I’m getting Warnings as per above and my code is not functioning as expected…
What does this mean and I how do I resolve it?
Does this mean, I have to break up procedure into smaller chunks?