Is there a way that I can write a query to allow me to append all EXCEPT the first row(s) of a table to another table?
For a brief background, I am analysing NT perfmon data, and the first record of each file (actually a .csv file) is usually corrupted so that I need to ignore it. My Access97 code links the CSV file as a table, and then I use an SQL INSERT statement to pull out the required data and append it to my database table.
Just to make it more complicated, I need to link to the .CSV file without ‘field names in first row’, as the (standard) names are not valid field names for Access. Hence my INSERT statement already has a WHERE clause that excludes any row that does not look like valid data. What I need to exclude is the first row that “looks” like valid data.
Unfortunately it is not simply a matter of just remembering the time stamp of the first record and then later searching for and deleting it, as there may be already be a valid duplicate record with the same timestamp.
I have a feeling there is a ‘lateral thinking’ way to attack this one, and would be grateful for any suggestions.
Thanks.
Geoff