Re: column names with - and (
От | maria s |
---|---|
Тема | Re: column names with - and ( |
Дата | |
Msg-id | d9d42a0f0807290939g3436a2cdx127a17d4b42d94c0@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: column names with - and ( ("Oliveiros Cristina" <oliveiros.cristina@marktest.pt>) |
Список | pgsql-sql |
Its okay, Yes I am using quotes. Michael was telling that too.
Thanks for all the help at all times.
Maria
Thanks for all the help at all times.
Maria
On Tue, Jul 29, 2008 at 12:37 PM, Oliveiros Cristina <oliveiros.cristina@marktest.pt> wrote:
You can enclose the names in quotes, then the characters are allowedSorry to mislead you :pBest,Oliveiros----- Original Message -----From: Oliveiros CristinaTo: maria s ; Osvaldo Rosario Kussama ; pgsql-sql@postgresql.org ; Pavel Stehule ; Ivan Sergio BorgonovoSent: Tuesday, July 29, 2008 5:27 PMSubject: Re: [SQL] column names with - and (Maria,The minus, open bracket and close bracket are illegal as identifier namesBest,Oliveiros----- Original Message -----From: maria sSent: Tuesday, July 29, 2008 5:06 PMSubject: [SQL] column names with - and (Hi All,
When I am fetching the data from a table,
I am giving the column names with - and ( and ) like IL-a, IL-a(p30) etc..
select x1 as IL-a, x2 as IL-a(p30) from abc
But I am getting
ERROR: syntax error at or near "-" and also t "(" , ")"
Can anyone help me to fix this?
Thank you,
Maria
В списке pgsql-sql по дате отправления: