How to include a database's views in the SQL Reporting Services Model - sql

I am new to SQL Reporting Services. I need to create a report from a SQL view in my database. When I add the database as a data source and generate a model from that data source, the model includes the database's tables, but not its views.
Is there a way to include the views in the model so I can use them in my report?
Additional Details: Using SQL Server and Reporting Services 2005

A friend pointed out that the problem here is that a model is not necessary for what I want to do. The reason I thought it was necessary is because Report Builder 1.0 requires you to select a model when you create the report. Business Intelligence Development Studio, however, does not (Neither do Report Builder versions 2+).
I will be making the report in Business Intelligence Development Studio instead.

http://msdn.microsoft.com/en-us/library/ms345300%28v=sql.105%29.aspx
This is a useful link to create a model via Business Intelligence Studio (which can include views too).

Related

Generating a Cognos report using cognos report studio for a SQL query

I am a newbie in Cognos. I am trying to create a report using report studio, I have the required package, and I want to create a report using a complex SQL query which has joins between three tables. Can anyone please give a suggestion to start building the report? Thanks!
How to write SQL for Cognos reports
FM is to create complex models. If you need a quick-and-dirty report you can specify custom SQL as the tutorial shows.
It would depend on how the data you see in Report Studio is modelled, typically a tool called Framework Manager is used connect to and model the source tables and views. Framework Manager creates the packages that you see in Report Studio, it can define relationships between entities like tables (if they're not already defined in the source database).
Not sure how to tell from Report Studio if the relationship has been defined properly other than trying to pull over fields from each table into the same Report Studio Query. It is best to talk to whoever designed the Framework Manager model or look at the model itself.

report builder 3.0

I am in the process of evaluiting Ad-Hoc reporting tool on top SQL Server 2008 R2. I would like to know what are the limitations around the Report Builder 3.0 which comes with SQL server.
What reports we can do in VS 2008 with BIDS and which we can not do in Report Builder 3.0 We are trying to answer what can be done what can be done with Report Builder.
Please share your real time experiance
We went through this same evaluation not that long ago. Basically BIDS and Report Builder 2/3 allow you to do the same thing. Report Builder is for those users who want to create or modify their own reports without needing to install BIDS. Report Builder has a Microsoft Office look and feel. It has the ribbon controls similar to Excel and Word. The same .RDL or .RDLC is generated by both. However, Report Builder 3 only targets SSRS 2008 R2. The .RDL format has changed for SSRS 2008 R2.
Either way the report can be deployed to an SSRS server, Sharepoint or the Microsoft Report Viewer (for .RDLC files).
As you may or may not know, there is no BIDS for Visual Studio 2010 (yet). If you want to use BIDS, you'll need to use VS 2008, which targets SQL Server 2008.
I think for a Power User who already has gone through tools like Cognos and Business Objects, the reprot builder 3.0 seems to lack lot of features while reporting against the cube. Here are the main.
I cannot create a variable which I can use in multiple tables in the report. I thought I could use "calculated member" but it does not let me use any kind of aggregate function on any of the objects against the cube as it treats everything as aggregate objects.
I cannot use a simple "OR" statement in the query filter.
Power user while building the report need to always pay attention to "row group", which I think is frustrating. In other tools the measure or fact groups it only groups by the dimension u have in the table.
Row limitations while exporting to excel.

OLAP on SQL Express

I'm wondering if there is any desktop OLAP solution that can use SQL Express (and therefore does not require Analysis Services)
I've been tasked with finding a way to allow our customers to do 'Ad-Hoc' reports, but the vast majority of them are on Sql Express, In previous jobs, customers have had Analysis Services and typically Cognos or Crystal Reports, so all that was required was to design the cube.
SQL Express is pretty limited, I don't know of any OLAP capabilities.
Although, we use DevExpress OLAP Pivot Grid with ROLAP to get around this problem.
Just create a cube-like SQL query and plug it in.
SELECT productname, reasonforsale, salestotal
FROM orderdetail
You can get editions of SQL server express with SQL Server Reporting Services (SSRS) this would allow you design reports without the expense of Crystal or Business objects.
Here is the link to the download page. Just select the option on the far right in either 32 or 64 bit flavour depending on what you are running
http://www.microsoft.com/express/Database/InstallOptions.aspx
There is PowerPivot Add-in for Excel. It is an ssas engine with in-memory storage and a powerful expression language called DAX that allows you to load all kinds of data sources and create model/s in Excel itself. It has an engine called Vertipaq that highly compresses the underlying data allowing millions of rows to be sliced and diced.
Regards,
Hrvoje
You can use icCube on the desktop to connect to SQL Express.
You can create your own .NET or Delphi application (Desktop or Web) imbedding RadarCube components of Direct edition.
The OlapCube component has a visual designer to create a cube structure (Dimensions, Hierarchies) and ROLAP engine to build cubes and process queries.
The OlapAnalysis component provides Visual Analysis tools with Pivot Grid/Chart functionality.
https://www.radar-soft.com/

Automatic incremental SQL Script generation for incremental, nightly builds when using Team Build in TFS 2008 and Visual Studio 2008?

hope that everybody here is OK.
We are using VS 2008 as development tool, TFS 2008 as version control as well as build automation. Some of our developer use dbpro for databases changes and some use SQL Server management studio.
I am trying to automate build for Web Application built using C# and VB.Net.
Our scenario is such that we have a central database to which our web application connects.
Whenever we supply our clients with a new functionality or a bug fix, we supply them incremental builds.
The SQL script is checked into source control for every incremental build when they have made and tested there changes on our central DB Server.
I want to generate Differential script that can be run at the client as an incremental update script. Now to come about it is a problem. Sometimes our developers tend to forget the database change-sets and the script in the source control is missing an SP or a two.
Also, sometimes we need to insert default data into some of the tables that have strict stringent values and not test values. Like a table that contains Services provided by the panel, we add a new service name, signature, credentials and service address, etc etc in the ServiceTable. Besides this many other tables may have test data that may not be needed.
If we use DataCompare, it will generate changeset for required data (important for client to enable certain services) and our test data that was added to the database as a result of our testing of the functionality or bug fix.
Currently i am using SQLSchemaCompareTask (from Visual Studio 2008 Team Database Professional Power Tools API) in the TFSBuild.proj file of the build definition for TFS 2008.
Using SQLSchemaCompareTask, the script generated contains database names like [dbo]. etc which are not desired as the script fails when run against SQL Server 2000 databses (Some of our client still use SQL Server 2000) databases as teh backend of the application.
Also default data can't be generated by this process.
To overcome this problem, i have to come up with a solution that can compare databases and generate script automatically that does not have to be manually reviewed again before being sent to the client.
Please suggest effective methodology of such SQL script generation and suggest whether two different databases may be used or something ? Is there any toolkit or api that can enable build automation for SQL Server databases?
Thank you all.
Regards
Steve
Try to use SQL Examiner Suite for this:
http://www.sqlaccessories.com/SQL_Examiner_Suite/
The tool compares both schema and data and produces synchronization scrips (or differentials scripts). You can automate script creation with supplied command-line tool.
Rather than collating many individual change set scripts (and therefore occasionally missing objects out), why not use schema compare and data compare to create a single script from your database project using a database equivalent to your client's on the target? This should create a script tailored to their requirements.
In data compare you can exclude test data records that you don't want pushed to your client by unchecking them in the lower grid.

Reporting Services 2005 Model using WCF Service for data

I am trying to use WCF Services as models for SQL Server Reporting Services 2005 reports. I can do this if I design the reports in the designer but cannot do it for a Reporting Model project which I think I need to make reports in the Report Builder.
My full requirement is to have a report builder that the users can use building reports based on DTOs supplied from my WCF service.
Thanks
Turns out you can't do this.
I've gone for Dex Express XtraReports which seem to be more powerful. I'm using their designer components to make a Report Designer application - which I shall customise to integrate completely with the application - save/new/edit all handled by my code should make the experience more pleasent for the user.
It seems SSRS just isn't ready for user designed reports based on .NET objects yet.