2012/6/19 Aguiar Magalhaes <[email protected]>: > Pessoal, > Por toda uma coluna que armazena o nome das empresas, preciso substituir a > palavra "DISTRIBUICAO" por "DISTRIBUIÇÃO". > Por exemplo: > "A.B.C. DISTRIBUICAO E COMÉRCIO" para ficar "A.B.C. DISTRIBUIÇÂO E COMÉRCIO"
UPDATE foo SET bar = replace(bar, 'DISTRIBUICAO', 'DISTRIBUIÇÃO') WHERE TRUE; -Leo -- Leonardo Cezar http://postgreslogia.wordpress.com _______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
