Re: Tabla temporal

From: "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec>
To: "mAyErLiNg (dot)M(dot)" <mmayerling4(at)hotmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Tabla temporal
Date: 2008-07-22 21:52:10
Message-ID: 3073cc9b0807221452u9578eacqd94587b5fae70034@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

2008/7/22 mAyErLiNg .M. <mmayerling4(at)hotmail(dot)com>:
> En realidad no se cual es la forma de escribirlo en postgresql...
>

>> > CREATE TEMPORARY TABLE temppostulantes_edo".$q_estado." (
>> > posid int unsigned NOT NULL,

lo declaras integer y le creas un constraint check (posid >= 0)

>> > areid int,
>> > paiid int,
>> > frecuencia TINYINT(4),

smallint? o si quieres que sea solo de 4 digitos lo creas como numeric(4, 0)

>> > email VARCHAR(75),
>> > nombre VARCHAR(30),
>> > apellido VARCHAR(30),
>> > ultimaalerta DATETIME);

datetime = timestamp

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Guayaquil - Ecuador
Cel. (593) 87171157

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jenaro Centeno Gómez 2008-07-22 22:10:46 Re: como lograr campo consecutivo sin fallar ?
Previous Message Lennin Caro 2008-07-22 18:59:17 RE: Tabla temporal