Jump to content

CSV reports ordering issue


prkothan

Recommended Posts

 Hi all,

We are facing bit wierd issue with CSV reports. 

1. When we hard code the query (with all where conditions) the order the data given by CSV reports matches with order of data provided by SQL Editor (Toad).

2. When we pass the where conditions as paramaters, the order the data given by CSV reports is different from order of data provided by SQL Editor (Toad). 

Both the queries has the same order by field.

I tried to find the actual data returned by DB by using P6Spy driver (wrapper over Oracle JDBC driver) which provides the actual log of  query fired and result sets obtained. The findings are, the query fired is 100% same, but the results has different ordering. My common sense its not a Jasper issue. But I don't understand DB is given  different ordering for the same that too when where conditions passed as paramaters. Please help.



Post Edited by prkothan at 03/09/2011 08:16
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...