T
Tony in Michigan
I'm trying to work out a few data formatting issues with a project I have at
work. I need to take existing data and write it to a new table, with a new
format, so the data can be exported as a csv file for processing by another
application. In my testing phase, I was working with small amounts of data,
so I could do it manually. Now I have hundreds of thousands of lines, to
work with in the actual process. In any event, I need to take the following,
I've used input mask formatting to illustrate the data.
I can parse the data, and reassemble it with several queries. Is there a
more efficient way?
AAA-0000000-0_099 and make it AAA 0000000-0
The next two examples are in the same field. I can either have an 8 or 10
digit number. If it is 8 digit, it is back filled with spaces.
0000000000 needs to be 0000.00.0000
00000000 needs to be 0000.00.00
Lastly my dates
MM/DD/YYYY or M/DD/YYYY needs to be MMDDYY
I'd appreciate a nudge in the right direction on this. I've been able to
address all of my other issues, amd am only left with these three fields.
work. I need to take existing data and write it to a new table, with a new
format, so the data can be exported as a csv file for processing by another
application. In my testing phase, I was working with small amounts of data,
so I could do it manually. Now I have hundreds of thousands of lines, to
work with in the actual process. In any event, I need to take the following,
I've used input mask formatting to illustrate the data.
I can parse the data, and reassemble it with several queries. Is there a
more efficient way?
AAA-0000000-0_099 and make it AAA 0000000-0
The next two examples are in the same field. I can either have an 8 or 10
digit number. If it is 8 digit, it is back filled with spaces.
0000000000 needs to be 0000.00.0000
00000000 needs to be 0000.00.00
Lastly my dates
MM/DD/YYYY or M/DD/YYYY needs to be MMDDYY
I'd appreciate a nudge in the right direction on this. I've been able to
address all of my other issues, amd am only left with these three fields.