We help IT Professionals succeed at work.
Get Started

09 Nov 11 06 - Create a view with dynamic columns

tyuret
tyuret asked
on
354 Views
Last Modified: 2012-05-12
Person
ID NAME
3 Jane
4 John
5 James

Extracolumns
ID COLNAME
6 sex
7 size
8 haircolor

Extracolumnvalue
ID       EXCOLID PERID VALUE
1                 6    3      female
2                 7    3      medium
3                 7    4      large

And I need a dynamic view which gives me the below (note that extracolumns table can have more rows)

PERSONID PERSONNAME    sex        size       haircolor
3                 Jane                  female   medium     null
4                 John                  null        large         null
5                 James               null        null            null

Can anybody help me? Thank you very much
Comment
Watch Question
Retired IT Professional
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 3 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE