I am trying to creat a virtual table by using a dynamic sql. This sql needs to be reuseable on different applications. To make matters more simple to explain let's say my table is a 3 column table. The ID column is a process identifier.
ID Integer
NAME VARCHAR
VALUE VARCHAR
The data will appear like this:
1 FIRSTNAME JOE
1 LASTNAME SMITH
2 FIRSTNAME MARY
2 LASTNAME JONES
I need to create a table that would take the data above and create the table like below
ID INTEGER
FIRSTNAME VARCHAR
LASTNAME VARCHAR
The data would look like this:
1 JOE SMITH
2 MARY JONES
Any ideas on this could work???? Please help!!!
ID Integer
NAME VARCHAR
VALUE VARCHAR
The data will appear like this:
1 FIRSTNAME JOE
1 LASTNAME SMITH
2 FIRSTNAME MARY
2 LASTNAME JONES
I need to create a table that would take the data above and create the table like below
ID INTEGER
FIRSTNAME VARCHAR
LASTNAME VARCHAR
The data would look like this:
1 JOE SMITH
2 MARY JONES
Any ideas on this could work???? Please help!!!