![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm attempting to create a query that will transpose repeated fields into a single table structure. Can anyone think of how this can be done as I'm stumped at the minute? I'd like to do this without having to create a cursor due to the overheads and performance issues associated with cursors. The table may also include additional fields which I'm not interested in. Serial Data is like this............. Ikey Ival ----------------- ------------------------------ RAF_EMAIL testemail1 (AT) hotmail (DOT) com RAF_FIRSTNAME testFirstName1 RAF_LASTNAME testLastname1 RAF_EMAIL testemail2 (AT) hotmail (DOT) com RAF_FIRSTNAME testFirstName2 RAF_LASTNAME testLastname2 ... Transposed into table like this .............. Email Firstname Lastname -------------------- -------------------------- -------- -------------------- testemail1 (AT) hotmail (DOT) com testFirstName1 testLastname1 testemail2 (AT) hotmail (DOT) com testFirstName2 testLastname2 ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |