Re: [SQL] bigger problem

2002-11-11 Thread Peter Eisentraut
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, s

Re: [SQL] bigger problem

2002-11-11 Thread Josh Berkus
Carlos, > in postgres database i created a table with a field like > > create table (...) > (...) > var text default '' not null > (...) > > now i need to import the data from this table into a oracle database > i used pg_dump > > I altered the field data type to > > (...) > var varchar2(50) d

[SQL] bigger problem

2002-11-11 Thread Carlos Sousa
in postgres database i created a table with a field like create table (...) (...) var text default '' not null (...) now i need to import the data from this table into a oracle database i used pg_dump I altered the field data type to (...) var varchar2(50) default '' not null (...) but when i