Select usando el # de campo

From: Alex Nu <notulei(at)yahoo(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Select usando el # de campo
Date: 2004-06-18 16:19:19
Message-ID: 20040618161919.57484.qmail@web60108.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda


Se puede seleccionar usando el numero de campo
en lugar del nombre del campo

por ejemplo en lugar de:

select id,z0 from dat32z3;
usar
select field1,field2 from dat32z3;

o algo por el estilo ?

lpsko=# \d dat32z3
Table "dat32z3"
Column | Type | Modifiers
--------+---------+----------
id | integer |
z0 | integer |
z1 | integer |
z2 | integer |
....

Gracias

Alex


__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mario Soto 2004-06-18 16:24:22 Re: ayuda : existe en postgresql alguna manera de sacar los dias
Previous Message Edwin Quijada 2004-06-18 15:47:24 Funciona la lista???