Toggle navigation
PostgreSQL中文社区
首页
(current)
社区新闻
中文文档
加入ACE
相关资料
了解PostgreSQL
PostgreSQL相关文档
PostgreSQL软件下载
PostgreSQL中文图书
社区年会PPT资料
关于中文社区
注册
登录
全部
Bug
使用技巧
内容问题
建议
系统安装
集群复制
其他
首页
有问有答(FAQ)
【%E5%85%B6%E4%BB%96】
类主题列表
lcyxwrl
数据库查询出错 ...
... 2019-06-24 00:37:21+08...1楼
数据库查询出错,为什么?怎么解决? [Err] ERROR: operator does not exist: integer = character varying LINE 87: on ie.icustay_id = labs.icustay_id ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
我的签名:
dongxuyang
回复: ...
... 2019-07-04 10:27:11+08...2楼
左边参数是数字,右边参数是字符,类型不匹配,可以强制转换:on ie.icustayid = labs.icustayid::int。不过最好还是该一下表中的类型,小心索引失效。
我的签名:
您还没有登录,请您登录后再发表回复
© 2010 PostgreSQL中文社区