G
GT
Hi, all, if this question has been posted before, my apologies. I wasn't
sure how to search for this particular problem. So here goes. I have a
table created from a series of Windows directory listings. Currently, the
original data column contains the raw data of the directories. At the start
of each listing within the column is the machine name that the listing
originated from. I've added a second empty column to into which I want to
put the related machine name. The table currently looks like this:
Datacolumn MachineName
-------------- ----------------
Machine1
infostring
infostring
infostring
Machine2
infostring
infostring
Machine3
infostring
infostring
etc
I want to associate the machine name with its records that follow it so that
the end result looks as follows:
Datacolumn MachineName
-------------- -------------
Machine1 Machine1.log
infostring Machine1.log
infostring Machine1.log
infostring Machine1.log
Machine2 Machine2.log
infostring Machine2.log
Machine3 Machine3.log
infostring Machine3.log
etc
An suggestions for an update query to generate my desired result? For now,
I'm not concerned about the rows where the data string and the machine name
are the same. I can eliminate those easily enough. Thanks in advance for
any responses.
sure how to search for this particular problem. So here goes. I have a
table created from a series of Windows directory listings. Currently, the
original data column contains the raw data of the directories. At the start
of each listing within the column is the machine name that the listing
originated from. I've added a second empty column to into which I want to
put the related machine name. The table currently looks like this:
Datacolumn MachineName
-------------- ----------------
Machine1
infostring
infostring
infostring
Machine2
infostring
infostring
Machine3
infostring
infostring
etc
I want to associate the machine name with its records that follow it so that
the end result looks as follows:
Datacolumn MachineName
-------------- -------------
Machine1 Machine1.log
infostring Machine1.log
infostring Machine1.log
infostring Machine1.log
Machine2 Machine2.log
infostring Machine2.log
Machine3 Machine3.log
infostring Machine3.log
etc
An suggestions for an update query to generate my desired result? For now,
I'm not concerned about the rows where the data string and the machine name
are the same. I can eliminate those easily enough. Thanks in advance for
any responses.