From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Mourad Dhambri <mourad_dhambri(at)yahoo(dot)fr> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: alias with spaces |
Date: | 2002-09-10 09:42:19 |
Message-ID: | 20020910194219.C17121@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Sep 10, 2002 at 11:37:09AM +0200, Mourad Dhambri wrote:
> Hi,
> I have an sql query on postgres then includes alias.
> In SQL Server, when there are spaces in the alias, I
> used to put it between brackets [], but in Postgres it
> doesn't work. why ?
Postgres follows the SQL standard. Use double quotes ("). Note that this
will make all your identifiers case-sensetive.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2002-09-10 11:24:35 | Re: concatenation of strings |
Previous Message | Mourad Dhambri | 2002-09-10 09:37:09 | alias with spaces |