DELETE

From: "c k" <shreeseva(dot)learning(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: DELETE
Date: 2008-08-19 19:04:00
Message-ID: d8e7a1e30808191204t728d1b9ew5472cb349abe4d7e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hello,
what will be the error in syntax of following statement?

delete from accountingtransactions where
accountingtransactions.refaccdocid=docs.docid and docs.tmpselect=-1 and
docs.tmpselectedby= $1;
when a new function is created it does not gives any error but when this
function is called from outside it gives syntax error as 'missing
FROM-clause entry for table "docs"'. Why? any clue?

Regards,
CPK

Responses

  • Re: DELETE at 2008-08-19 19:14:12 from Bill Reynolds

Browse pgsql-general by date

  From Date Subject
Next Message Bill Reynolds 2008-08-19 19:14:12 Re: DELETE
Previous Message c k 2008-08-19 18:01:12 cache lookup failed