If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I am trying to merge two tables of customers and I am working on the POST CODR field. Some have spaces between the letters and other s dont. How do I delete all the spaces in the psot code field?
I can't provide the full SQL statement as I don't know the names of the columns in both tables (I guess that 'PostCode' isn't the only column), as well as the names of both tables.
deleting space ijn postcodes can cause problems using the data down the line. some systems recognise the spaces and some don't. as its trivial to extract the space in a query I wouldn't store the resultant value. IE store M235WE not M23 5WE.
you can regenerate the space if you want to but its tricker than removing.
why would this be a problem?
well some GIS systems look for the space or only work in the first block
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton