Re: No me deja crear la tabla.

From: Heiler Duarte <heildumo(at)gmail(dot)com>
To: Pablo Braulio <brulics(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: No me deja crear la tabla.
Date: 2005-08-15 18:39:18
Message-ID: e7359b04050815113948498eb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

CREATE TABLE empresas (
ID SERIAL NOT NULL UNIQUE,
nombre VARCHAR(40) NOT NULL,
nick VARCHAR(6) PRIMARY KEY,
direccion VARCHAR(50) NOT NULL,
cod_post INT4 NOT NULL,
poblacion VARCHAR(20) NOT NULL,
provincia VARCHAR(20) NOT NULL,
cif VARCHAR(9) NOT NULL
);

On 8/15/05, Pablo Braulio <brulics(at)gmail(dot)com> wrote:
> ¿Alguien podría decirme porque no me deja crear esta tabla?.
>
> CREATE TABLE empresas (
> ID SERIAL NOT NULL UNIQUE,
> nombre VARCHAR(40) NOT NULL,
> nick VARCHAR(6) PRIMARY KEY,
> direccion VARCHAR(50) NOT NULL,
> cod_post INT(5) NOT NULL,
> poblacion VARCHAR(20) NOT NULL,
> provincia VARCHAR(20) NOT NULL,
> cif VARCHAR(9) NOT NULL
> );
>
> ERROR: syntax error at or near "(" at character 160
>
> --
> Saludos.
> Pablo
>
> Fingerprint 5607 40CF 45EF D490 B794 5056 D7B2 C3DC ABF1 CE49
> Jabber: bruli(at)myjabber(dot)net
> http://aldiagestion.com/blog
>
>
>

--
Heiler Duarte M
3002188362
3364677 EXT 5225

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Horacio Miranda 2005-08-15 18:44:40 Re: No me deja crear la tabla.
Previous Message Pablo Braulio 2005-08-15 18:30:10 No me deja crear la tabla.