Groups | Blog | Home
all groups > sql server reporting services > august 2005 >

sql server reporting services : DB Structural changes and reports


DigitalVixen
8/22/2005 7:38:18 AM
Our software is going through some changes, in the next 6 months the database
structure will have changed. I have written reports against the current
structure, is there any "easier" way to update reports other than going in
and giving an alias for the "new field name's"? I attempted this with the
most simplistic report we have and even though the change to the query was
just an alias it required me to change each field manually.

Is there an easier way? Maybe edit the rdl direct?

DigitalVixen
8/22/2005 8:23:10 AM
Thanks for the quick reply ;) Will this take care of the stored procedures
as well as tables?

[quoted text, click to view]
Bruce L-C [MVP]
8/22/2005 9:59:24 AM
You could create a view which has the old names. Then edit the RDL to use
that instead of the current table name.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Bruce L-C [MVP]
8/22/2005 10:57:04 AM
If you are using stored procedures then this is easier. Either you modify
the stored procedure to alias the fields in which case you don't need to
have a view or you create a view that does the aliasing and then modify the
stored procedure. Either way, if the change is in the stored procedure you
don't have to make any change to the report.



--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button