Quote Originally Posted by rahul.wankhede
Where cud i found the bug.
Bug? you couldn't yet find what part of your query is failing and you are already pointing to a bug?

Execute your query manually -from sql*plus, copy/paste whole session log and post it.