Buen dia, estoy tendiendo inconvenientes cuando traigo valores de una BBDD sql. El problema es que me trae unos caracteres que estan ocultos y no los veo. Utilizando ltrim(rtrim(var)) en la consulta me quita lo de adelante pero lo de atras sigue figurando. Utilizar el substring no puedo ya que vienen datos con mas o menos letras. Lo que viene es algo como X00d
Alguien sabe como quitarlo?
Gracias
If it is specific set of characters that you are seeing then you can try REPLACE(var,“x00D”,“”)
Cheers
El problema es que si pongo eso me lo quita de los datos que me trae la BBDD. Por ejemplo si me trae el nombre Xavier, me quita la X y la necesito
Hay alguna otra forma?
If you give only X then it replaces X…that is the reason i wanted you to give a pattern…so if the pattern you see is xooD then if only D is present of oo is present , the replace would not take effect…only when it sees xooD completely then it would replace
If this also would not help then I would request you to provide few samples of how it looks then we can come with some other solution or pattern
Hope this helps
Cheers