Re: Comillas en los nombres de las TABLAS

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: ctnan(at)adinet(dot)com(dot)uy
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Comillas en los nombres de las TABLAS
Date: 2004-09-20 20:13:24
Message-ID: 20040920201324.GF3280@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Mon, Sep 20, 2004 at 01:23:52PM -0300, ctnan(at)adinet(dot)com(dot)uy wrote:

Hola,

> SELECT * FROM MI_TABLA
>
> dice que no encuentra la referencia "MI_TABLA"
> sin embargo de esta forma si funciona:
>
> SELECT * FROM "MI_TABLA"

http://www.postgresql.org/docs/7.4/static/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS

Busca donde habla de "delimited identifier".

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Thou shalt study thy libraries and strive not to reinvent them without
cause, that thy code may be short and readable and thy days pleasant
and productive. (7th Commandment for C Programmers)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Josué Maldonado 2004-09-20 20:21:06 Sugerencias sobre modelo.
Previous Message Alvaro Herrera 2004-09-20 20:10:41 Re: Procedimientos almacenados