Alias to DB view columns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2015 07:14 PM
Hi,
I have a Database view which contains columns from 4 tables. I have 2 same columns selected from a table but with different where clause.
I want to change the label of these 2 columns to be different when I run a report. How do I achieve this?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2015 07:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2015 08:00 PM
VAlor,
the 2 columns are the same with 2 diff where clause. Will that work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2015 09:43 AM
I think that's what I showed you.. In the "alm_hardware_metric" table (which is a join of:
- metric_definition
- metric_instance
- alm_asset
Both the Metric Definition and the Asset table have a column of "sys_class_name" with a label of "Class".
As a result of the above, my form looks like this: