Em 19-08-2014 07:58, Leandro escreveu:
Bom dia Pessoal!

Tem como inserir caracteres em um campo a esquerda?

Ex: 102030

    Inserir 'AB ' no inicio, ficando 'AB 102030'

O campo é do tipo text.


  update tabela set campo = 'AB ' || campo;
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a