"Boergesson, Cheryl" <Cheryl.Boergesson@gdit.com> writes:
> I found when I removed all comments, it worked fine. Any ideas?
Oh? Considering that the fragments you've shown us have never had
one single comment, that means that no one could possibly have offered
you any useful advice.
Please, if you would like help with this sort of problem, show a complete
self-contained test case. Leaving stuff out is counterproductive, way
too often.
regards, tom lane