JDBC problem with DELETE

Поиск
Список
Период
Сортировка
От Dnesbitt@encryptix.com
Тема JDBC problem with DELETE
Дата
Msg-id 19016070071ED411B61300508BAC4B750418BC@EXCH1ETIX
обсуждение исходный текст
Ответы Re: JDBC problem with DELETE  (Cedar Cox <cedarc@visionforisrael.com>)
Список pgsql-interfaces
The following piece of code:
  stmt.executeUpdate("delete from friend where name='"+someName+"'");

is returning:
  SQLException: java.sql.SQLException: ERROR: Attribute 'John Doe' not
found

where someName is "John Doe".

Any ideas?  The row where name='John Doe' is definitely in the table and I
can execute the statement without problems from psql.

Thanks in advance for your help.

Regards,
//Dave


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

Предыдущее
От: "Joel Burton"
Дата:
Сообщение: PostgreSQL + Microsoft Access FAQ Draft Announcement
Следующее
От: "S.A.Pamungkas"
Дата:
Сообщение: result not appear