David Burrows (10/31/2013)
My solution (bet Jeff picks holes in it :Whistling
Create a format file containing...
No. You're absolutely on the same track I was going to go with except I might play with the terminators a bit more. The problem is that the op just posted a format that doesn't look like any of the data he posted. You know me... I don't like to post code that I have tested and I can't test because I don't actually know what the op's data actually looks like.
is pronounced ree-bar and is a Modenism for R
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair
How to post code problemsHow to post performance problemsForum FAQs