Hiya. I am new to Telerik, using Telerik 2011 Q3 in Visual Studios 2010 on a latop running Windows 7. Currently I am trying to create a Telerik report using Oracle data and am confused by what is happening with the query.
"Error in SELECT clause: expression near 'SELECT'.
Unable to parse query text."
2. If I bypass Query Builder and continue to the Preview Data Source Results and click Execute Query, the query completes consistantly in approx 2 min.
3. When I go to the Telerik Report Preview mode, enter the variables and click PREVIEW, the hour glass spins but the query never completes. I have waited 15 min by the clock and not gotten any results (remember the query completes in 2 min in the Preview Data Source Results pane.
I don't know Visual Studios well enough to understand the significance of it working in the Preview Data Source Results but failing in both the Query Builder and the Report Preview. It seems strange to me that the Query Builder reports multiple syntax errors, yet the query completes successfully in Preview Data Source Results. I've never seen an SQL query with syntax errors work before, so I am sceptical about the Query Builder error message. The report does have nested SELECTstatements, which I assume has something to do with the messages about problems near SELECT and FROM. At the same time, it isn't completing in PREVIEW mode in the report, so something is obviously wrong.
Can someone please shed some light on what is happening?
Please be aware that handling reports (be it with large data or large number of report items) usually requires additional resources in terms of powerful CPUs, and enough memory to handle all the operations. As far as the processing time and consumed memory is concerned, the complexity of the report layout, the complexity of the data calculations (aggregates, conditional formatting), the rendering media, the size of the generated document (in pages), and the capabilities of the underlying machine are crucial.
In general, Telerik Reporting is an embedded reporting engine, which primary goal is to analyze data and represent it in a human-readable format that is also suitable for printing. During this process, certain complex layout and paging rules are applied, so the great flexibility offered by the reporting engine comes at a price: increased processing times and memory footprint. You should agree that dumping millions of records from a database at once hardly fits in the category of report generation. Perhaps in your specific scenario another component such as our RadGrid control might be more appropriate, moreover our RadGrid control offers several export options.
As for the query error - we cannot provide you with a valid input as we do not know how your select statement looks like and therefore we can only guess what the problem might be.
Thanks for your reply. Sorry about being confusing. When I said the query was fairly large I didn't mean the number of records it would pull in. I just meant that I didn't include the query in the post due to its size. I am correcting that now - the query is below.
This query works in TOAD. It works if I skip the Telerik Reporting Query Builder and run it from the PREVIEW DATA SOURCE RESULTS page. It works in PREVIEW mode. It does NOT work in Query Builder, generating the error in my first post.
The result of this is I no longer trust Query Builder. Not a good thing. Now that you have the query, can you shed any light on why this is happening?
How do you bind the report - do you use ObjectDataSource Component or EntityDataSource Component? What is the count of the records that your query returns? As stated in previous post the complex paging and layout rules that are being applied come at a price - increased processing time and memory footprint. Additionally the performance depends on the report layout and how complex it is. For more information please check the Performance Considerations KB article.
On a side note the Query Builder is part of Visual Studio and Telerik Reporting just uses the exposed Visual Studio service as many other tools. So you can check in another application, not related to Telerik, if things work as they are supposed to. If you face the same problem you should contact or report to Microsoft your issue.
Just for clarification, at runtime everything works and the only place where you have problem and get the error is the query builder, is that correct?
In Q3 2014 the Standalone Report Designer provides a Query Designer to help you create queries to retrieve data from a relational database. Use the query designer to explore the database tables and views, interactively build an SQL SELECT statement and view the result of your query.