Re: where is this problem (trigger)

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: where is this problem (trigger)
Дата
Msg-id 20040514080501.M35179@megazone.bigpanda.com
обсуждение исходный текст
Ответ на where is this problem (trigger)  (Theodore Petrosky <tedpet5@yahoo.com>)
Ответы Re: where is this problem (trigger)  (Theodore Petrosky <tedpet5@yahoo.com>)
Список pgsql-sql
On Wed, 12 May 2004, Theodore Petrosky wrote:

> I can not seem to update these rows because of the dot
> in the jobnumber field. I have found that I can change
> the dot to an underscore but I thought I would ask if
> there is a better solution.
>
> here is the error:
>
> UPDATE jobinfo SET isbilled = false WHERE jobnumber =
> '1162.01';
> ERROR:  syntax error at or near ".01" at character 20
> CONTEXT:  PL/pgSQL function "notify_jobinfo" line 2 at
> execute statement

From the docs, it looks like NOTIFY takes an identifier
as a name.  Foo_1023.01 is not a valid identifier so you
might want to double quote the string since "Foo_1023.01"
is one.



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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: where is this problem (trigger)
Следующее
От: "Eric Anderson Vianet SAO"
Дата:
Сообщение: view running query