I have reports which take 2-3 hours to run, they are reading through an Oracle table which has over 30m records in it, each with 40 fields.
I am only bringing back certain criteria, but as I understand it, Crystal will read all records first, and then bring back what it needs.
I am led to believe that SQL Commands are quicker as they only retrieve what is required straight away, rather than reading everything, I do not have any SQL experience or knowledge, so i'm not sure.
My question is this... Is it possible to build the report in the usual way, and then before running it, choosing the "Show SQL" from Menu, then copying this and running it straight from a Database Command within Crystal.
Will this make it quicker, if not, is there something I can type to the SQL to speed it up?
Any guidance would be appreciated.
Many thanks
UrbanHim
Crystal XI Report Writer
London
[small]What's the best cure for a hangover?... Heavy drinking the night before!![/small]
I am only bringing back certain criteria, but as I understand it, Crystal will read all records first, and then bring back what it needs.
I am led to believe that SQL Commands are quicker as they only retrieve what is required straight away, rather than reading everything, I do not have any SQL experience or knowledge, so i'm not sure.
My question is this... Is it possible to build the report in the usual way, and then before running it, choosing the "Show SQL" from Menu, then copying this and running it straight from a Database Command within Crystal.
Will this make it quicker, if not, is there something I can type to the SQL to speed it up?
Any guidance would be appreciated.
Many thanks
UrbanHim
Crystal XI Report Writer
London
[small]What's the best cure for a hangover?... Heavy drinking the night before!![/small]