Re: errores al subir datos de mySQL a PostgreSQL

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: David Ochoa <davideochoa(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: errores al subir datos de mySQL a PostgreSQL
Date: 2005-04-14 15:49:53
Message-ID: c2d9e70e050414084910c85b84@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On 4/14/05, David Ochoa <davideochoa(at)gmail(dot)com> wrote:
> Estoy subiendo mi bd de mySQL a postgreSQL pero me marca el siguiente error.
>
> CREATE TABLE surtimiento_rojo_imi_campeche_2004_09_15 (
> clave int(11) NOT NULL default 0,
> encontrada int(11) default NULL,
> surtido int(11) default NULL,
> PRIMARY KEY (clave)
> ) ;
> PSQL:almacen.txt:125746: ERROR: syntax error at or near "(" en el carßcter
> 69
> PSQL:almacen.txt:125746: LINEA 2: clave int(11) NOT NULL default 0,
> PSQL:almacen.txt:125746: ^
>
int(11)??? postgres no acepta eso si te refieres a 11 digitos
necesitas hacer decimal(11,0)
o puedes dejar solo int?

atentamente,
Jaime Casanova

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Julio Rivero 2005-04-14 15:56:49 Re: errores al subir datos de mySQL a PostgreSQL
Previous Message josue 2005-04-14 15:48:40 Re: errores al subir datos de mySQL a PostgreSQL