From: | Matt Allen <matt(at)investigationmarketplace(dot)com> |
---|---|
To: | Ryan Mahoney <ryan(at)paymentalliance(dot)net> |
Cc: | "Poul L(dot) Christiansen" <poulc(at)cs(dot)auc(dot)dk>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Relation XX does not exist |
Date: | 2001-04-05 23:53:23 |
Message-ID: | 20010406095323.C1844@lappy.insider.ctrllab.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
> > > > > >
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-04-06 01:03:22 | Re: locked up backends |
Previous Message | Randall F. Kern | 2001-04-05 23:35:55 | RE: locked up backends |