SQL 2000 - QA
Hi All,
I have some data, 50 odd million rows. (samples below). I have to cleanse this data as much as possible. How would I go about:
A Deleting anything where the first character is not a letter or number or actually, delete anything that is not a letter or number until it get's to either a letter or number.
B Once the above is done I will have to look through the whole string and remove anything that is not a letter or number.
I have to do this in at least 2 steps because once A is done, we have to analyse the data because there could be cases where having a space or dash in the middle is indeed a valid string (which then would nean another post to get help from you guys!)
93369.0E.397665
93337-1E473959
933371.E.483277
W0LF7AC A64V34481
94369-9V-209046
94369-9V/266046
*V1N9B08DJY636619
RCD7127847
/RCD7127856
As usual, many thanks in advance for any assistance.
Michael
Hi All,
I have some data, 50 odd million rows. (samples below). I have to cleanse this data as much as possible. How would I go about:
A Deleting anything where the first character is not a letter or number or actually, delete anything that is not a letter or number until it get's to either a letter or number.
B Once the above is done I will have to look through the whole string and remove anything that is not a letter or number.
I have to do this in at least 2 steps because once A is done, we have to analyse the data because there could be cases where having a space or dash in the middle is indeed a valid string (which then would nean another post to get help from you guys!)
93369.0E.397665
93337-1E473959
933371.E.483277
W0LF7AC A64V34481
94369-9V-209046
94369-9V/266046
*V1N9B08DJY636619
RCD7127847
/RCD7127856
As usual, many thanks in advance for any assistance.
Michael