Re: bigger problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: bigger problem
Дата
Msg-id Pine.LNX.4.44.0211112004070.12428-100000@localhost.localdomain
обсуждение исходный текст
Ответ на bigger problem  ("Carlos Sousa" <carlosdsousa@hotmail.com>)
Список pgsql-sql
Carlos Sousa writes:

> (...)
> var varchar2(50) default '' not null
> (...)
>
> but when i was importing the the table into the oracle database all the rows
> with the field var='' were not inserted.
> Is there a way to work this around

Yes, don't use Oracle.

In Oracle, '' is the same as null, so the constraint is not satisfied.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Generating a cross tab (pivot table)
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Permission on insert rules