I am currently working on a project that needs to utilize data stored in a SQL db in the format shown below.
What I need to do, and am having difficulty finding a tool to help with, is to take this data and create a multi column single record keyed off of the ID and Event Date. While I have found some info on the net about event driven handlers, the problem is that although my labels say "Event" what is really stored is individual pieces of data called "Events" that are really individual entries that often, but not always, are entered at the same time and contribute to a whole event entry. I am sorry if this seems a bit confusing but I am working with a system I have no control over to change I just need to make useful sense of the data.
Here is a running example of what is stored in the db that I need to convert to a single record;
ID Event Event Result Event Result Value Event Date Entered By
909909 Status Change No no 10/25/12 23:10 Doe, John
909909 Disposition Remuni Remains in place 10/25/12 23:10 Doe, John
909909 Event duration 15mins 15mins 10/25/12 23:10 Doe, John
909909 Event end time 23:25 23:25 10/25/12 23:10 Doe, John
909909 Event start time 23:10 23:10 10/25/12 23:10 Doe, John
909909 Event type Iniqrs Initial System activation 10/25/12 23:10 Doe, John
Into the following single record;
ID Event Start Event End Moved Action Taken Entered By
909909 23:10 23:25 Remains in place Initial System activation Doe, John
Thank you in advance for any help you can give.