Con TRANSLATE.

Si tienes por ejemplo en una coluna de una fila el valor Mr. V. Garcia Valero

con

update  qtemp/tb1 set A=translate(A, 'Sr.', 'Mr.')

cambiarias Mr. por Sr. en la columna A de todos los registros

y tendrias

Sr. V. Garcia Valero

Saludos y felices fiestas para todos


RUBIO-ENRIQUEZ Franc wrote:
Hola:

¿sabeis si hay alguna manera de reemplazar un carácter de un campo por otro caracter, con una sentencia SQL?

similar a cuando lo hacemos en los fuentes: Explorar y Sustituir.

Gracias de antemano,

Feliz Navidad y Prospero Año 2006 para todos.

Francisco Rubio Enríquez
Analista
Cibernos Consulting, SAU


------------------------------------------------------------------------

-- Disclaimer ------------------------------------
Ce message ainsi que les eventuelles pieces jointes constituent une 
correspondance privee et confidentielle a l'attention exclusive du destinataire 
designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une 
personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute 
divulgation, distribution ou copie de cette transmission est strictement 
interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en 
informer l'expediteur par telephone ou de lui retourner le present message, 
puis d'effacer immediatement ce message de votre systeme.
***
This e-mail and any attachments is a confidential correspondence intended only 
for use of the individual or entity named above. If you are not the intended 
recipient or the agent responsible for delivering the message to the intended 
recipient, you are hereby notified that any disclosure, distribution or copying 
of this communication is strictly prohibited. If you have received this 
communication in error, please notify the sender by phone or by replying this 
message, and then delete this message from your system.
__________________________________________________
Forum.HELP400 es un servicio más de NEWS/400.
© Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja visita la siguente URL:
http://coyote.combios.es/mailman/listinfo/forum.help400

Responder a