From: | Aílsom F(dot) Heringer <ailsom(at)gmail(dot)com> |
---|---|
To: | Ragnar <gnari(at)hive(dot)is> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: first message: SELECT <column> FROM <t |
Date: | 2008-02-02 18:05:40 |
Message-ID: | 364e1f7e0802021005s45b73657ve8d1eb402f11ca40@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ok. That was the problem. Now SELECT "Senha" FROM USUARIOS is working fine.
But, At an application using ODBC connection I will need to send "Senha" too ?
Aílsom
2008/2/2, Ragnar <gnari(at)hive(dot)is>:
> On lau, 2008-02-02 at 15:43 -0200, Aílsom F. Heringer wrote:
>
> > At pgAdmin III Query, when I send SELECT * FROM USUARIOS, I get all
> > columns correctly. But when I try to get only one column, SELECT senha
> > FROM USUARIOS, I get the error message:
> >
> > ERROR: column "senha" does not exist
> > SQL state: 42703
> > Character: 8
>
> if you created the column name mixedcase with quotes,
> you need to access it the same way.
> so if the column name is really "Senha" do:
> SELECT "Senha" FROM USUARIOS;
>
> if that is not the problem, can you repeat this in
> the command-line tool psql ?
>
> gnari
>
>
>
--
--
Aílsom F. Heringer
Rio de Janeiro, Brasil
ailsom(at)gmail(dot)com
ailsom(at)uol(dot)com(dot)br
From | Date | Subject | |
---|---|---|---|
Next Message | Raymond O'Donnell | 2008-02-02 18:08:15 | Re: first message: SELECT <column> FROM <t |
Previous Message | Scott Marlowe | 2008-02-02 17:59:36 | Re: first message: SELECT <column> FROM <t |