[SQL ] C# 連 PostgreSQL

看板Database作者 (布丁牛奶)時間4年前 (2019/08/22 23:39), 編輯推噓0(003)
留言3則, 2人參與, 4年前最新討論串1/1
資料庫名稱:PostgreSQL 資料庫版本:11.5 內容/問題描述: 請問各位 我用 C# 執行查詢指令時 MessageBox.Show(Convert.ToString(command.ExecuteScalar())); 為什麼會顯示資料表不存在 錯誤訊息 Npgsql.PostgresException: '42P01: relation "test_table" does not exist' 我用 SQL Shell(psql)查詢資料表裡面是有資料的 以下是程式碼 麻煩各位幫我看看哪裡有問題 謝謝! https://github.com/BudinMilk/PostgreSQL -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.165.187.173 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Database/M.1566488373.A.C98.html

08/23 07:03, 4年前 , 1F
google "postgresql relation does not exist"
08/23 07:03, 1F

08/23 07:06, 4年前 , 2F
create table是大小寫區別 與 有無雙引號問題
08/23 07:06, 2F

08/23 09:20, 4年前 , 3F
謝謝您
08/23 09:20, 3F
文章代碼(AID): #1TNhSroO (Database)