There is any function like LOOKUP in 2008 apart of sub reports because i have a tablix from where the columns are coming from different datasets.
No. SSRS took big leaps forward with 2008R2. I recommend installing a more recent version of SSRS, which could still connect to a SQL 2008 server four your datasources.
Alternately, change your queries to combine the fields in the dataset.
Related
Is there a way to specify as a property to my publication, to say it doesn't need to handle sql compact subscriptions?
Sql server 2008 R2 as the publisher, when I originally created the publication, I set the compatibility to 2005 and up. I unknowingly used a time column in one of the replicated articles, and realized after it is too late that for sql ce, it comes down as nvarchar.
First of all, time datatype is introduced from 2008, so I changed my publication compatibility to 2008. And createad new snapshot, reinitialized subscriptions etc.
Currently all my subscibers are 2008 express. I will never need to handle 2005 subscribers.
Also, I never need to handle 2008 Compact subscribers. since time is not supported only for compact, my theory is, if I can somehow specify that the publication need not allow compact subscribers and regenerate my snapshot and redo subscriptions, that column will finally come down as 'time' instead of nvarchar.
So, is it a possibility?
EDIT:
I overlooked the fact that there is no such thing as 'sql server 2008 compact'. I guess my question now is, after I created a pubication with 'subscriber types' as 2005 and up, and later after atleast one subscriber exists(only 2008 express), I change the publication property to 2008 and up, why doesn't any new subscibers get 'time' datatype? Can someone assure that if I totally delete the publication and recreate it from scratch, subscriptions will get the 'time' column fine?
The "New Publication Wizard" has a "Subscriber Types" dialog, on this, select only SQL Server 2008.
I have the database in sql 2008. In this database daily some data is being inserted. I have to generate the report automatically without giving date i.e today is 10-10-2012. I have to view the report of 10-10-2012 on 11-10-2012 daily. It should happen automatically i.e Previous date entry should generate on current date without changing dates daily. Whether it is possible in SSRS report or we have to change in stored procedures please give the solution.
Yes, it is possible. I just did it.
Two options:
1 Specify the report parameters (dates) and give them default parameters. (Use a formula - hint, look for DateAdd in the formula editor)
2 set the query using DateAdd in SQL
When you've got the report, create a subscription.
How to do all this is covered in the documentation, available from Help on the SSRS website, or by pushing F1 in the Report builder.
Just spent the day figuring out how to properly use the LookupSet method only to find out it isn't supported on my production database which is NOT running SQL Server 2008 R2 (it is just running ol' SQL Server 2008).
So, is there a way to re-produce the functionality so it will work with old SQL Server 2008?
Thanks - wg
As Gordon Linoff points out in the comments, this can usually be implemented in the SQL query. If the datasource for your target of the LookupSet is similar enough to the the main query, then you can accomplish this with a Common Table Expression or a correlated subquery in SQL.
Your could write custom code - which I wouldn't recommend because it's probably simpler to combine the data relationally first in your query. If one of the data sources is non-relational, then use SSIS to get it into a table and then use a query to combine the two sets of data.
I have a database with multiple schemas that have the same data model, including some views. When I try to create a data model using SSRS 2008, I don't see any of the views, and the table names are created with trailing numbers in their names instead of their original schemas, i.e., dbo.MY_TABLE and IMPORT.MY_TABLE become MY TABLE and MY TABLE1 with no indication as to which is which.
How can I get the views to show up? I'm not good enough with Google to figure out how to weed out the results about SQL views from the ones about SSRS views (and those that simply have the word "Views" in them.) Also, is there a way to format the tables names so that they're more friendly?
So the answer is to use Visual Studio 2008 and BIDS rather than using the Web-based tools that come with SSRS, unless someone knows of a different way.
Can anyone explain how to import or migrate SQL Server 2000 reports to SQL Server 2005 or 2008?
Mostly you just need to port your data from your old ReportServer database to the new one. The report RDL is stored in the Catalog table, for instance, and you just need to import all of that. That table also includes all of the path names you've defined. The subscriptions table contains all the subscription that have been defined, as you would expect.
I've not done a full migration between the two, but it should be relatively straight forward -- just dedicate a day or so to matching up all the fields and then run with it.