Re: Relation XX does not exist

Поиск
Список
Период
Сортировка
От Matt Allen
Тема Re: Relation XX does not exist
Дата
Msg-id 20010406095323.C1844@lappy.insider.ctrllab.com
обсуждение исходный текст
Ответ на Re: Relation XX does not exist  (Matt Allen <matt@investigationmarketplace.com>)
Ответы Re: Relation XX does not exist  (Joel Burton <jburton@scw.org>)
Список pgsql-general
Hi,

Its all good ... any table name or column with a Cpaital letter in it needs to be enclosed in "" 's ...

Just out of curiostiy, which way do you guys do it?

jobdetails
job_details
or
"jobDetiails"

Thanks,

Matt


On Thu, Apr 05, 2001 at 06:01:54AM +0100, Ryan Mahoney wrote:
> Try using quotes, ie: INSERT INTO "TableName" VALUES......
>
> does that work?
>
> -r
>
*snip*
> > > > > >
> > > > > > Relation 'jobdetails' does not exist
> > > > > >
> > > > > > when i issued:
> > > > > >
> > > > > > INSERT INTO jobdetails (jobDetailsID, jobID, claimName ,
> > claimNumber ,placementDate , completionDate, invType , insType) values
> > > > > > (7, 72,'P1234','Mr T',986453483,988639200, 'S', 'W')
> > > > > >
> > > > > > All seems to be right here:
> > > > > >
> > > > > > impmp=> \d
> > > > > >          List of relations
> > > > > >       Name      |   Type   | Owner
> > > > > > ----------------+----------+-------
> > > > > >  jobDetails     | table    | impmp
> > > > > >  jobdetails_seq | sequence | impmp
> > > > > >  jobs           | table    | impmp
> > > > > >  jobs_seq       | sequence | impmp
> > > > > > (4 rows)
> > > > > >
> > > > > > Any clues ? Ive restarted the SQL server and to no avail.
> > > > > >

В списке pgsql-general по дате отправления:

Предыдущее
От: Alexander Lohse
Дата:
Сообщение: php & pgsql under OSX
Следующее
От: Joel Burton
Дата:
Сообщение: Re: Relation XX does not exist