Wednesday, November 26, 2014

SSRS Interview Questions and Answers

Which versions of SSRS have you used?

Microsoft SQL Server Reporting Services Version 2009.0100.1600.01

To check this:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles


Have you used custom assemblies in SSRS? If Yes give an example

Custom assemblies  allows to re use code in  reports


Can you update report data using SSRS?

It is possible


What are query parameters?

Query parameters are the parts of an SQL query that allow you to filter results. Parameters are contained in the SQL’s “where” clause. These parameters tell the SQL server which records you want to update, select, or delete. In other words, if it wasn’t for the where clause parameters, you would affect all records in your tables.
What is a sub-report?
Sub-reports are inserted into a main report. Just like a main report, you also pass parameters and queries to it.
What are RDL files?
RDL files are like the “language” for SSRS servers. However, RDL files are created in XML, so really the “language” of SSRS servers is XML. RDL files contain the queries and layout format for your reports.
What is a data set?
Data sets are the components that contain your records. You can have a blank data set, a data set with one record, or a data set with millions of records, You can view a data set like a customized table. The data set has the columns and rows like a table
What is a data source?
A data source is the database and tables where your data set comes from. You must define the data source when you create your database connection. Every data set needs a source from which to pull the data. Your reporting server can be SQL Server 2000, 2005, 2008 and 2012.
What servers can be used with SSRS?
While most companies use SQL Server with SSRS, you can also integrate other database servers with your SSRS reports. SSRS is compatible with Oracle, ODBC and OLEDB connections, Hyperion, Teradata and flat XML files that contain data.
 What formats can SSRS export or render to?
SSRS is compatible with several file formats. When the user runs the report, the default format prints to the web browser. You can also save or export to HTML, Excel, CSV, Image, PDF and XML formats. The SSRS reporting software has buttons at the top of each report that the user can use to export these files
How do you deploy a report to a reporting server?
The SSRS reporting software includes tools to deploy directly to the SQL Server reporting server.
You want to include an image in a report. How do you display the Image Properties dialog box? 

When you drag an image item from the Toolbox window to the Report Designer, the Image Properties dialog box automatically opens

You want to configure an amount to display the value in a currency format. Which property do you use?

To configure an amount to display a value in a currency format, select the report item, and then set the format property to C or c

What are data regions?

Data regions are report items that display repeated rows of summarized information from datasets

You want to generate a report that is formatted as a chart. Can you use the Report Wizard to create such a report?

No, the Report Wizard lets you create only tabular and matrix reports. you must create the chart report directly by using the Report Designer.

You want to use BIDS to deploy a report to a different server than the one you chose in the Report Wizard. How can you change the server URL?

You can right-click the project in Solution Explorer and then change the Target-Server URL property.

Which rendering formats are affected by the PageSize properties?

Because only the Adobe PDf file, Word, and Image rendering extensions use physical page breaks, they are the only formats that are affected by the PageSize properties.

Can you use a stored procedure to provide data to an SSRS report?

Yes, you can use a stored procedure to provide data to an SSRS report by configuring the dataset to use a stored procedure command type. However, your stored procedure should return only a single result set. If it returns multiple result sets, only the first one is used for the report dataset.

You want to use a perspective in an MDX query. How do you select the perspective?

Use the Cube Selector in the MDX Query Designer to select a perspective.

Can you use data mining models in SSRS?

Yes, you can use the DMX Designer to create data mining queries for SSRS reports. However, do not forget to flatten the result set returned by the DMX query.

You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

Create a text box item, set the action to Go To URL, and then configure the URL.

You want a report to display Sales by Category, SubCategory, and Product. You want users to see only summarized information initially but to be able to display the details as necessary. How would you create the report?

Group the Sales information by Category, SubCategory, and Product. Hide the SubCategory group and set the visibility to toggle based on the Category item. Hide the Product category group and set the visibility to toggle based on the SubCategory item.

You want to create an Excel interactive report from SSRS. In SSRS, can you create the same interactive experience in Excel that you would have on the Web? 

No, you cannot create the same experience with SSRS. you can, however, use Excel to create such an experience.

What is the main difference between a Matrix report item and a Table report item? The main difference between a Matrix and a Table report item is in the initial template. Actually, both report items are just templates for the Tablix data region.

When you do not use report caching, is it better to use parameters to filter information in the query or to use filters in the dataset?

From a performance perspective, it is better to use parameters because they let SSRS pull filtered data from the data source. In contrast, when you use filters, the queries retrieve all data and then filter the information in an additional step.

How do you configure a running aggregate in SSRS?

You can use the RunningValue function to configure a running aggregate.

What is the main purpose of a report parameter?

The main purpose of a report parameter is to add interactivity to your reports, letting users change the report behavior based on options they select.

What is the main purpose of a query parameter?

The main purpose of a query parameter is to filter data in the data source.

You want your users to select a parameter from a list of values in a list box. How should you configure the parameter?

You should create a data source that contains the possible values and then bind the data source to the parameter.

What is the main benefit of using embedded code in a report?

The main benefit of using embedded code in a report is that the code you write at the report level can be reused in any expression in the report.

What programming language would you use to create embedded functions in SSRS?

An SSRS report supports only visual Basic .nET embedded code.

Which of the following are valid options for deploying a report? (Choose all that apply.)

a. With BIDS 
b. With the Computer Management console 
c. With the .nET START command 
d. With SSMS 
e. With Report Manager

The correct answers are a and e, BIDS and Report Manager.



No comments:

Post a Comment