Re: SQL problem?
От | Stephan Szabo |
---|---|
Тема | Re: SQL problem? |
Дата | |
Msg-id | 20050824101212.H90271@megazone.bigpanda.com обсуждение исходный текст |
Ответ на | SQL problem? (cbraden <cbraden@douglasknight.com>) |
Список | pgsql-novice |
On Wed, 24 Aug 2005, cbraden wrote: > Folks, > > I have a simple table called "adjusters" with only these three columns: > > id > adjuster > MonthlyGoal > > ==========COPIED FROM PGAdminIII============= > CREATE TABLE public.adjusters > ( > id int4 NOT NULL DEFAULT nextval('adjusters_id_key'::text), > "Adjuster" varchar(50), > "MonthlyGoal" varchar(50), > CONSTRAINT adjusters_pkey PRIMARY KEY (id) > ) WITH OIDS; > ============================================== > > The SQL "SELECT * FROM adjusters" works perfectly > > The SQL "SELECT * FROM adjusters ORDER BY Adjuster ASC" results in this > message: > ERROR: Attribute "adjuster" not found The column is not Adjuster, but "Adjuster". Unquoted identifiers are case folded in SQL (although we case fold the wrong direction for spec, it doesn't matter in this case).
В списке pgsql-novice по дате отправления: