Change the SQL request of report - visual-studio

I'm creating a report using the Crystal Report for Visual Studio 2010 but I dont know how to change the SQL request.
Thanks.

I don't think you can directly change any SQL that Crystal Reports generates.
If you want to control the query yourself, you can perform your own query first and pass in your DataSet to Crystal Reports.

good
I tried to change the sql request but we can not change it after the creation of the report by cons at the time of creation using the wizzard we can selects new command, and at this level we introduce our request.
Thanks again.

Related

SSRS report returning no data on report server but is working in visual studio

Something really strange is happening with SSRS. I have a report which is powered by a stored proc which uses a lot of TSQL and CTE's to set variables ect... I know that there's no problem with the procedure as it runs in SQL and also runs within Visual Studio and returns a full data set. The issue I'm having is on deployment, I can't seem to get the report to return data when running it from the reporting server. The headers of the table and parameter are displayed but just no data.
I've tried the following:
- Deleting the .DATA file
- Clearing cache
- Checking for data source errors
- Checked the report server error log
- Rebuilt RDL and created a different report with the code
I'm clueless on this one, it's something I've never seen before.
Please help.
Much appreciated,
Thank you
Ri

Sub report is taking a lot of time for rendering

I am working on SSRS using SQL 2008 r2. I have created master report with sub reports using report viewer.
Issue: For each run .rdlc report is taking almost 5-10 min time to generate report in Win form. I am using VS 2010 and VB.Net. I believe the sub report is taking a lot of time rendering.
The main SP and sub report SP is getting executed in an instant.
The report however is running fine in BIDS environment but when loading in report viewer is taking a lot of time rendering
I have tried searching many options regarding this Issue but couldn't find enough help. I am sorry If my question is not enough clear to you all.
(P.S.= I am using embedded report for Winform for VS 2010 as .rdlc and not a Web report or .rdl (2008))
The standard "gotcha" in this scenario is that BIDS is using dataset cache files and not going back to SQL and re-running your query.
To avoid this you can either alter your parameters on each execution (invalidating the cache) or use this feature from the geniuses behind BIDS Helper:
http://bidshelper.codeplex.com/wikipage?title=Delete%20Dataset%20Cache%20Files&referringTitle=Documentation
If this is the case, the real issue is that your datasets queries are taking a long time to run. This is usually a SQL or database design issue, not SSRS.

Azure Reporting

I have Main SSRS report with few drill down reports calling same main report with parameters. It works fine in Regular SSRS. When I upload the same report on Azure the main report works fine without problem. When I click on the drill down links it keeps on giving error saying The Item "reportname" cannot be found. Tracing id is : (rsItemNotFound). What change I need to make in the SSRS to have the drill down report work in Azure environment.
There shouldn't be a need to change anything between between regular SSRS and Azure Reporting.
I had a simular problem once. In my case it happened since I renamed the report at one point, but the drill down action was still using the old report name. Maybe you have a simular problem?
Also, check out the Azure Reporting limitations over here (in case your report happens to use an unsupported feature like RDCE)

VSTS Load test reports

We've setup some different load tests and need to generate/send the result pr. e-mail, a link, pdf or similar. The output and metrics are saved to a database (resultstore), but I haven't been able to find too much information on how to generate a report without having visual studio. One thing that comes into mind, is creating a custom report in reporting service (any one know of existing reports I could use?).
Any thoughts?
Thanks
Ended up with creating a report myself using reporting services. If I can make generic enough, I'll post it here.

Looking for guidance with reporting in Business Intelligence Development Studio

I've been using Microsoft SQL Server Management Studio for multiple manual SQL queries for Excel reports up until this point. I'd now like to automate my processes further with Microsoft Business Intelligence Development Studio and generate reports using this rather than Excel.
Here's a rough overview of what I'm looking to do:
Combine multiple data sources including SQL Server and Excel data
Generate a report using this combined data
Re-use this report in the future with different criteria and Excel data. While the SQL Server data sources would remain the same, Excel data would change for every report run.
My access to the SQL servers is read-only. I'm not an administrator on the PC I have access to due to tight security.
I've played around with both SSIS packages and reports, but am not quite sure where to begin. I did create an SSIS package that combines the SQL server and Excel data using a Merge Join transformation, but am not quite sure what to do with the created package or if that package can even be used in a report.
Any guidance would be appreciated.
Thanks.
Since you have BIDS, you have various options to send data to your users:
Create reports in SSRS
Export the SSRS report to Excel
Create SSIS packages to export CSV files that are read by Excel (I used this model to mimic the report data caching ability of SSRS)
The SQL Server Reporting Services book is a great place to start.
http://www.amazon.com/Microsoft-Server-2005-Reporting-Services/dp/0735622507

Resources