Cannot simply use PostgreSQL table name (“relation does not exist”)

后端 未结 11 2629
一向
一向 2020-11-22 05:35

I\'m trying to run the following PHP script to do a simple database query:

$db_host = \"localhost\";
$db_name = \"showfinder\";
$username = \"user\";
$passwo         


        
11条回答
  •  既然无缘
    2020-11-22 06:15

    Postgres process query different from other RDMS. Put schema name in double quote before your table name like this, "SCHEMA_NAME"."SF_Bands"

提交回复
热议问题