Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG #4103: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3696 of 4089
Post > Topic >>

Re: BUG #4103: DELETE Syntax Error

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 11, 2008 at 01:47 PM

"Yu Jye Foo" <yu.jyefoo@[EMAIL PROTECTED]
> writes:
> 2008-04-11 09:01:02 PDT ERROR:  syntax error at or near "LIMIT" at
character
> 97
> 2008-04-11 09:01:02 PDT STATEMENT:  DELETE FROM BASELINES WHERE file_id
IN
> (SELECT file_id FROM files WHERE config_id = 1155042061) LIMIT 4001;

Uh, what's your point?  DELETE does not have a LIMIT option.

Or maybe you meant to put the LIMIT on the SELECT?  In that case it
should go inside the parentheses.

			regards, tom lane

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
 




 2 Posts in Topic:
BUG #4103: DELETE Syntax Error
yu.jyefoo@[EMAIL PROTECTE  2008-04-11 16:57:18 
Re: BUG #4103: DELETE Syntax Error
tgl@[EMAIL PROTECTED] (T  2008-04-11 13:47:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 10:36:40 CDT 2008.