Re: insert into: NULL in date column

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: insert into: NULL in date column
Дата
Msg-id cc5fb963-ea67-0068-8158-04a190f16242@gmail.com
обсуждение исходный текст
Ответ на Re: insert into: NULL in date column  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: insert into: NULL in date column  (Ken Tanzer <ken.tanzer@gmail.com>)
Re: insert into: NULL in date column  (Rich Shepard <rshepard@appl-ecosys.com>)
Re: insert into: NULL in date column  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
On 1/11/19 4:21 PM, Rich Shepard wrote:
> On Fri, 11 Jan 2019, Rob Sargent wrote:
>
>>> psql:activities.sql:2: ERROR:  invalid input syntax for type date: ""
>>> LINE 2: ...reaction they''ve experienced environmental issues.','','');
>                                                                  ^
>> Miss-matched single quotes in activities.sql?
>
> Rob,
>
>   I don't see the mis-match. The preceeding text column escapes the 
> internal
> single quotes by doubling them while the entire string is single quoted.
>
> Regards,
>
> Rich
>
We don't have more context in "activities.sql" but if your OP was 
verbatim, it's keeling over on the comma ending the long text string. 
Something syntactically askew I think.


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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Re: insert into: NULL in date column
Следующее
От: Ken Tanzer
Дата:
Сообщение: Re: insert into: NULL in date column