Shirish,
The way I understood what your problem started was when you added more than one parameter clause to your SQL. So, I just wanted to see the final SQL that was built by your code to see if there were any issues in there. If this isn't the case, then this is not needed. Let me know.
