psycopg2.errors.UndefinedTable: relation “xxxx“ does not exist
生活随笔
收集整理的這篇文章主要介紹了
psycopg2.errors.UndefinedTable: relation “xxxx“ does not exist
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
psycopg2.errors.UndefinedTable: relation “xxxx” does not exist
python連接PostgreSQL之后,查找操作報錯如題,原因是數據庫表名是有大寫字母,需要在表名上加入雙引號,因為PostgreSQL大小寫不敏感。比如:‘select * from “Xxxx”’
總結
以上是生活随笔為你收集整理的psycopg2.errors.UndefinedTable: relation “xxxx“ does not exist的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python 通信模块_python 多
- 下一篇: rust怎么拆除墙壁指令_人类跌落梦境: