Search Postgresql Archives

How to avoid error with convert() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



SELECT convert(myfield,'LATIN2','WIN1250') FROM tbl;

ERROR:  character 0x828e of encoding "MULE_INTERNAL" has no equivalent in
"WIN1250"

I know I have few characters like this one in table with about 1.000.000
rows.
How to avoid such error and show eg. ? instead of error , or how to replace
such characters with some normal chars ?

tnx


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux