Re: bigger problem - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: bigger problem
Date
Msg-id Pine.LNX.4.44.0211112004070.12428-100000@localhost.localdomain
Whole thread Raw
In response to bigger problem  ("Carlos Sousa" <carlosdsousa@hotmail.com>)
List 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 by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Generating a cross tab (pivot table)
Next
From: Josh Berkus
Date:
Subject: Re: Permission on insert rules