Re: a question, please help me.

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: a question, please help me.
Дата
Msg-id 42DEE364.20801@opencloud.com
обсуждение исходный текст
Ответ на a question, please help me.  ("wu xiao" <zolawu@hotmail.com>)
Список pgsql-jdbc
wu xiao wrote:

> PreparedStatement ps = db.prepareStatement("select * from operator where
> ID=?");

> The sqlexception is:....column 'id' is not exist..... What's the reason
> please? All of the tables are created in Windows XP.

If you've created the table with a capitalized column name, you will
need to quote it in your SQL:

  "select * from operator where \"ID\"=?"

Unquoted identifiers (column names, table names, etc) are forced to
lowercase by the server.

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Timestamp Conversion Woes Redux
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Timestamp Conversion Woes Redux