From: | raul andrez gutierrez alejo <raulandrez(at)gmail(dot)com> |
---|---|
To: | MARIA ANTONIETA RAMIREZ SOLIS <maramirez(at)ulsaneza(dot)edu(dot)mx> |
Cc: | FORO POSTGRES <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | Re: Buen dia |
Date: | 2015-07-07 16:10:27 |
Message-ID: | CAHQFj72ki87eiY712ey5eNTxwMoeKVAX+ZP3vGWFGHy9GzbX7g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
Hola Maria.
los :: tipo variable convierte el datos al tipo de variable.
ejemplos:
select '11'::int + '1'::int as entero , '11'::text || '1'::text as texto;
select '11'::int + 'A'::int as entero;
select '11'::text || 'A'::text as texto;
El 6 de julio de 2015, 15:44, MARIA ANTONIETA RAMIREZ SOLIS <
maramirez(at)ulsaneza(dot)edu(dot)mx> escribió:
>
>
> Buena tarde , tengo una duda y me gustaria que me ayuden a resolverla, en
> una de mis tablas en un campo tengo esta notacion:
>
> idevento character varying(45) *DEFAULT 'NULL'::*character varying,
> pwdevento character varying(45) *DEFAULT 'NULL'::*character varying,
>
> porque me aparece eso de *DEFAULT 'NULL':: ??*
> *a que se refierern los cuatro puntitos **::??*
>
> Disculpen soy nueva y aun no conozco mucho de postgresql
>
> Sin mas por el momento , quedo en espera de ustedes
>
> gracias!!
>
--
Raul Andres Gutierrez Alejo
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2015-07-07 18:10:58 | Re: Buen dia |
Previous Message | Anthony Sotolongo | 2015-07-07 16:09:21 | Re: Buen dia |