Re: [GENERAL] missing FROM-clause entry for table

2008-11-12 Thread Erwin Moller
Raymond O'Donnell schreef: On 12/11/2008 18:08, Erwin Moller wrote: LEFT OUTER JOIN tblcategorypropertylang AS CPL ON ((CLP.languageid=DRV1.languageid) AND (CPL.categorypropertyid=DRV1.categorypropertyid)); ERROR: missing FROM-clause entry for table "clp" You've a typo in the query -

Re: [GENERAL] missing FROM-clause entry for table

2008-11-12 Thread Adrian Klaver
- "Erwin Moller" <[EMAIL PROTECTED]> wrote: > Hi group, > > I get a mysterious errormessage while executing the following query: > (I left the tabledefinitions out, since I think they don't matter. If > I > am wrong I'll be happy to post them.) > > SELECT DRV1.languageid, DRV1.categorypro

Re: [GENERAL] missing FROM-clause entry for table

2008-11-12 Thread Raymond O'Donnell
On 12/11/2008 18:08, Erwin Moller wrote: > LEFT OUTER JOIN tblcategorypropertylang AS CPL ON > ((CLP.languageid=DRV1.languageid) AND > (CPL.categorypropertyid=DRV1.categorypropertyid)); > > ERROR: missing FROM-clause entry for table "clp" You've a typo in the query - the table alias is CPL, not

[GENERAL] missing FROM-clause entry for table

2008-11-12 Thread Erwin Moller
Hi group, I get a mysterious errormessage while executing the following query: (I left the tabledefinitions out, since I think they don't matter. If I am wrong I'll be happy to post them.) SELECT DRV1.languageid, DRV1.categorypropertyid, CPL.categorypropertylangname FROM (SELECT L.languageid,

Re: [GENERAL] missing FROM-clause entry

2006-10-23 Thread Brandon Metcalf
m == [EMAIL PROTECTED] writes: m> you didn't reference the table "replica"... this should work: m> UPDATE model_timemap m> SET map = updatemap( CASE WHEN replica = 32188 THEN 328787 WHEN replica = m> 32191 THEN 5739 ELSE -1 END, 1161642129, map) m> FROM replica m> WHERE replica.replica_id

Re: [GENERAL] missing FROM-clause entry

2006-10-23 Thread Thomas H.
a.proxy = 32189 - Original Message - From: "Brandon Metcalf" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 24, 2006 12:35 AM Subject: [GENERAL] missing FROM-clause entry Just upgraded to 8.1.5 and the following UPDATE causes the "missing FROM-clause entry" e

[GENERAL] missing FROM-clause entry

2006-10-23 Thread Brandon Metcalf
Just upgraded to 8.1.5 and the following UPDATE causes the "missing FROM-clause entry" error: UPDATE model_timemap SET map = updatemap( CASE WHEN replica = 32188 THEN 328787 WHEN replica = 32191 THEN 5739 ELSE -1 END, 1161642129, map) WHERE replica.replica_id = model_timemap.replica