I have a data base of postcodes, stored with spaces in them (LL29 6AF), my users often miss the spaces out.
Can I use somthing like (this does not work!) Select address from postcodes where replace(postcode," ","") = [supplied postcode]
Or is there a simple way of removing the spaces from the postcodes in the table (21,000 records) so I could then remove the spaces in the user supplied postcode before running the select statement.
Nick
Can I use somthing like (this does not work!) Select address from postcodes where replace(postcode," ","") = [supplied postcode]
Or is there a simple way of removing the spaces from the postcodes in the table (21,000 records) so I could then remove the spaces in the user supplied postcode before running the select statement.
Nick