Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Software ==> | SSRS Reporting Services (99 exercises) |
Topic ==> | Using SQL views (3 exercises) |
Level ==> | Relatively easy |
Subject ==> | SSRS training |
This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.
This will generate the database that you'll need to use in order to do this exercise (note that the database and script are only to be used for exercises published on this website, and may not be reused or distributed in any form without the prior written permission of Wise Owl).
This exercise involves creating a view to show which actors play which roles in which films, then amending it to take account of new column names.
You can choose to create and amend your view either using the built-in designer or by scripting it. The choice, as Graham used to say, is yours!
Begin by creating a view called vwThesps to show a list of actors and the roles they've played in different films. Your view should include these four columns:
Table | Column | New name to use |
---|---|---|
Film | Title | FilmName |
Actor | FullName | ActorName |
Role | Role | CharacterName |
Film | RunTimeMinutes | Minutes |
Now create a report called Role-playing based upon this view, grouping roles by actor:
What the start of your report might look like.
It's time now to stop your view working! In Management Studio, right-click on the Actor table and choose to change its design:
Choose this short-cut menu option.
Rename the FullName column to ThespianName (the sort of thing IT departments do ...), then close the table, saving your changes.
Strangely, your report should still work even though it points to a field which no longer exists, but if you click on the Refresh Fields button in the Dataset Properties dialog box you will get an error.
Amend your view to accommodate the new field name, and refresh the list of dataset fields. Everything should now work again!
Finally, please set the Actor table field name back to FullName (so that all of the other exercises still work), then save and close your report.
You can find other training resources for the subject of this exercise here:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.