zoukankan      html  css  js  c++  java
  • [已解决]疑问:关于postgres的to_number()

      postgres中的to_number(text,number),即是把字符串text转为number的函数,但有时候用的时候经常碰到这样的错误:[Err] ERROR:  invalid input syntax for type numeric: " ",先直接上表吧:

      数据库中有两条记录的le_charge_building 是null的,其余的le_charge_building 都不是null

      于是我做下面的查询:

      所以,为什么呢?我已经都把le_charge_building可能是null或者""的都筛走了,为什么还是有这种报错?

    jeyfang
  • 相关阅读:
    pytorch基础(4)-----搭建模型网络的两种方法
    Java
    Tools
    Maven
    Java
    DevOps
    Linux
    Java
    Java
    Nutch 使用总结
  • 原文地址:https://www.cnblogs.com/jeyfang/p/6278300.html
Copyright © 2011-2022 走看看