PostgreSQL错误:转换为所需的编码

时间:2012-04-25 17:25:30

标签: postgresql encoding pgadmin

我正在尝试更新专栏:

update t_references
set    reference = 'Stöcker W, et al. Autoimmunity to Pancreatic Juice in Crohn’s Disease. 
    Results of an Autoantibody Screening in Patients With Chronic Inflammatory Bowel Disease. <i>Scand J Gastroenterol Suppl</i>. 1987;139:41-52.'
      ,index = 9
where  reference_id = 161;

我收到了错误:

  

无法将查询转换为所需的编码。

请指教。


我必须登录到该计算机,然后从命令运行它。

1 个答案:

答案 0 :(得分:1)

在遇到同样的错误时,我发现在编辑器(甚至记事本)中打开从PGAdmin保存的.SQL文件,然后将内容复制并粘贴到PGAdmin时,我可以重新创建它。当我直接用PGAdmin打开文件时,没有问题。

HTH