Validation of special char and replace for the good one

  • Hello I need help on how to do this more efficient. I will need to write a store procedure to validate an address which contains special characters

    Address is like :

    Street : Las Ñipas 4264

    So i need to remove the Ñ and replace it for N

    I was reading to use collate SQL_Latin1_General_CP1253_CI_AI but i am not sure how to use it since it caused me more trouble it added some spaces .

    Could you please advise on what will be the best way to do this ?

    • This topic was modified 11 months, 2 weeks ago by  Mond.
  • one option is to use Translate

    see https://portosql.wordpress.com/2020/01/13/retirando-acentuacao-translate/ - option 2.4

     

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply