Showing posts with label advanced. Show all posts
Showing posts with label advanced. Show all posts

Friday, March 30, 2012

Reporting Services Advanced Features

I am looking to find more information regarding advanced filtering/report parameters available in SQL Server 2005 Reporting Services. From what I can see, the user can set values for each report parameter and the query defaults to "where x = (param 1) and y = (param 2)" etc. Is there a way that a user can pick parameters that structure a more complex where clause? For example, say I want to filter by all clients enrolled in all of these 3 service programs and have a dog or clients not enrolled in one of the following 3 care programs or clients who live in one of the following cities? So it would be like this:

where (((sp = 1 and sp = 2 and sp = 3) and animal = dog) or ((cp not in (1, 2, 3)) or city in (a, b, c, d)))

In addition, I am looking for more information regarding programmatic capabilities in Reporting Services. Can anyone point me to a good place for this information? I would like to know whether we could structure part of a query in VB.NET code and then pass this query to Reporting Services to join with the basic report query. Also, I would like to know Reporting Services' capability to interact with stored procedures.

In addition, is Reporting Services more for internal business reporting, or do companies add it onto their existing software package to sell to external customers? Does Reporting Services allow one report to be created, and then users (our customers) on different servers who use different databases to run the report by giving Reporting Services their credentials (database, SQL Server login, etc)?

Basically, I have just been following the tutorials on Microsoft's site, but they are all pretty basic so I haven't gotten a good feel for whether this product is good for advanced reporting needs.

Thanks!

Anonymous wrote:

I am looking to find more information regarding advanced filtering/report parameters available in SQL Server 2005 Reporting Services. From what I can see, the user can set values for each report parameter and the query defaults to "where x = (param 1) and y = (param 2)" etc. Is there a way that a user can pick parameters that structure a more complex where clause? For example, say I want to filter by all clients enrolled in all of these 3 service programs and have a dog or clients not enrolled in one of the following 3 care programs or clients who live in one of the following cities? So it would be like this:

where (((sp = 1 and sp = 2 and sp = 3) and animal = dog) or ((cp not in (1, 2, 3)) or city in (a, b, c, d)))

You can add pretty much any type of WHERE clause you'd like, since you control the query that is being issued. The default interface is best suited to modifying the value portion of a where clause, not adding new columns or changing operators. It is possible, but it is not as easy to implement.

Anonymous wrote:

In addition, is Reporting Services more for internal business reporting, or do companies add it onto their existing software package to sell to external customers? Does Reporting Services allow one report to be created, and then users (our customers) on different servers who use different databases to run the report by giving Reporting Services their credentials (database, SQL Server login, etc)?

It is used for both. Microsoft uses Reporting Services in the Dynamics products, for example.

|||Can you point me to some tutorials and/or articles that provide more details? For the query above, I want the user to specify the columns, values, and operators for the where clause and then be able to generate the query from their specifications.

How can Reporting Services be used to allow a user to log into our application, select the databases to work with, and then have the report generate according to user login?
|||

If your requirement is that the user by allowed to create their own where clauses, you might want to investigate Report Builder as an option. It provides all the GUI for accomplishes this, and can allow users to build their own reports on the fly. There are other third party tools that allow this as well.

The other path is to build your own front end to manage the creation of the where clause. It's more work, but you have full control. If you want to go this route, I'd recommend checking out a few books on Reporting Services, as many of them have chapters that deal with this to some degree.

Reporting Services Advanced Features

I am looking to find more information regarding advanced filtering/report parameters available in SQL Server 2005 Reporting Services. From what I can see, the user can set values for each report parameter and the query defaults to "where x = (param 1) and y = (param 2)" etc. Is there a way that a user can pick parameters that structure a more complex where clause? For example, say I want to filter by all clients enrolled in all of these 3 service programs and have a dog or clients not enrolled in one of the following 3 care programs or clients who live in one of the following cities? So it would be like this:

where (((sp = 1 and sp = 2 and sp = 3) and animal = dog) or ((cp not in (1, 2, 3)) or city in (a, b, c, d)))

In addition, I am looking for more information regarding programmatic capabilities in Reporting Services. Can anyone point me to a good place for this information? I would like to know whether we could structure part of a query in VB.NET code and then pass this query to Reporting Services to join with the basic report query. Also, I would like to know Reporting Services' capability to interact with stored procedures.

In addition, is Reporting Services more for internal business reporting, or do companies add it onto their existing software package to sell to external customers? Does Reporting Services allow one report to be created, and then users (our customers) on different servers who use different databases to run the report by giving Reporting Services their credentials (database, SQL Server login, etc)?

Basically, I have just been following the tutorials on Microsoft's site, but they are all pretty basic so I haven't gotten a good feel for whether this product is good for advanced reporting needs.

Thanks!

Anonymous wrote:

I am looking to find more information regarding advanced filtering/report parameters available in SQL Server 2005 Reporting Services. From what I can see, the user can set values for each report parameter and the query defaults to "where x = (param 1) and y = (param 2)" etc. Is there a way that a user can pick parameters that structure a more complex where clause? For example, say I want to filter by all clients enrolled in all of these 3 service programs and have a dog or clients not enrolled in one of the following 3 care programs or clients who live in one of the following cities? So it would be like this:

where (((sp = 1 and sp = 2 and sp = 3) and animal = dog) or ((cp not in (1, 2, 3)) or city in (a, b, c, d)))

You can add pretty much any type of WHERE clause you'd like, since you control the query that is being issued. The default interface is best suited to modifying the value portion of a where clause, not adding new columns or changing operators. It is possible, but it is not as easy to implement.

Anonymous wrote:

In addition, is Reporting Services more for internal business reporting, or do companies add it onto their existing software package to sell to external customers? Does Reporting Services allow one report to be created, and then users (our customers) on different servers who use different databases to run the report by giving Reporting Services their credentials (database, SQL Server login, etc)?

It is used for both. Microsoft uses Reporting Services in the Dynamics products, for example.

|||Can you point me to some tutorials and/or articles that provide more details? For the query above, I want the user to specify the columns, values, and operators for the where clause and then be able to generate the query from their specifications.

How can Reporting Services be used to allow a user to log into our application, select the databases to work with, and then have the report generate according to user login?|||

If your requirement is that the user by allowed to create their own where clauses, you might want to investigate Report Builder as an option. It provides all the GUI for accomplishes this, and can allow users to build their own reports on the fly. There are other third party tools that allow this as well.

The other path is to build your own front end to manage the creation of the where clause. It's more work, but you have full control. If you want to go this route, I'd recommend checking out a few books on Reporting Services, as many of them have chapters that deal with this to some degree.

Friday, March 9, 2012

Reporting service not starting in SQL Express 2005 Advanced

I've installed SQL 2005 Express Advanced edition on an XP SP2 machine which
already had SQL 2005 Express SP1 installed. I followed the instructions on
deleting (moving) all files in the Template Data directory before attempting
the install - in the only instance I had on the computer (MSSQL.1).
After the install, I noticed that there was another instance (MSSQL.2) which
had the Reporting services folders in it. It didn't have any of the folders
found under MSSQL.1 in it. And of course when checking which instance the
reporting services are using under the SQL Server Config Manager, it says
Instance ID 2.
Also under either the SQL Server Config Manager or the Reporting Services
Config Manager it says that the Service Status is stopped and it won't start
using either manager. It gives a timeout error.
Anyone have an idea why? Is it because of the 2 instances? What else can I
check?
Thanks in advance.I think I may have found the problem. I didn't have a local group ASPNET
established. Once I created this local group, the service fired right up.
"Wade" <wnederveld@.preinnewhofdonotreply.com> wrote in message
news:%23YSklEIaGHA.4548@.TK2MSFTNGP04.phx.gbl...
> I've installed SQL 2005 Express Advanced edition on an XP SP2 machine
> which already had SQL 2005 Express SP1 installed. I followed the
> instructions on deleting (moving) all files in the Template Data directory
> before attempting the install - in the only instance I had on the computer
> (MSSQL.1).
> After the install, I noticed that there was another instance (MSSQL.2)
> which had the Reporting services folders in it. It didn't have any of the
> folders found under MSSQL.1 in it. And of course when checking which
> instance the reporting services are using under the SQL Server Config
> Manager, it says Instance ID 2.
> Also under either the SQL Server Config Manager or the Reporting Services
> Config Manager it says that the Service Status is stopped and it won't
> start using either manager. It gives a timeout error.
> Anyone have an idea why? Is it because of the 2 instances? What else can
> I check?
> Thanks in advance.
>