So now you are just making stuff up to support your original case. It's ridiculous to write code in a way that is so prone to conditional failure.
>Of course i can split sp, write views or functions,
>but this is another issue.
Probably a better way to solve the problem anyway.