Re: "SET field=field+1" no longer works?

2002-02-27 Thread DL Neil
Stewart, > All you should have to do is wrap the statement in () like: > UPDATE SET field=(field+1) WHERE I had a look in the manual (http://www.mysql.com/doc/U/P/UPDATE.html). Where did you find the requirement for parentheses? Do you have live code where UPDATE works with parentheses, but

Re: "SET field=field+1" no longer works?

2002-02-27 Thread DL Neil
<[EMAIL PROTECTED]> > To: "Tyler Longren" <[EMAIL PROTECTED]>; "DL Neil" > <[EMAIL PROTECTED]> > Cc: "MySQL List" <[EMAIL PROTECTED]> > Sent: Tuesday, February 26, 2002 5:56 PM > Subject: Re: "SET field=field+1" no longer works? &g

Re: "SET field=field+1" no longer works?

2002-02-27 Thread Stewart G.
I no longer have the original post in my inbox, I had a problem with fetchmail which downloaded all the messages a couple hundred times, so i did a mass delete. All you should have to do is wrap the statement in () like: UPDATE SET field=(field+1) WHERE This will work fine from PHP using s

Re: "SET field=field+1" no longer works?

2002-02-26 Thread Tyler Longren
your help! tyler - Original Message - From: "Stewart Gateley" <[EMAIL PROTECTED]> To: "Tyler Longren" <[EMAIL PROTECTED]>; "DL Neil" <[EMAIL PROTECTED]> Cc: "MySQL List" <[EMAIL PROTECTED]> Sent: Tuesday, February 26, 2002 5:5

Re: "SET field=field+1" no longer works?

2002-02-26 Thread Stewart Gateley
> executed properly. It only works correctly when issuing the query > from the > mysql command line client. :) > > Tyler > > - Original Message - > From: "DL Neil" <[EMAIL PROTECTED]> > To: "Tyler Longren" <[EMAIL PROTECTED]> > Cc: &

Re: "SET field=field+1" no longer works?

2002-02-26 Thread Tyler Longren
uary 26, 2002 5:19 PM Subject: RE: "SET field=field+1" no longer works? > Have privileges changed? > > Dan > > > -Original Message- > > From: Tyler Longren [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, 27 February 2002 11:55 a.m. > > To: DL Ne

RE: "SET field=field+1" no longer works?

2002-02-26 Thread Daniel Rosher
Have privileges changed? Dan > -Original Message- > From: Tyler Longren [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 27 February 2002 11:55 a.m. > To: DL Neil > Cc: MySQL List > Subject: Re: "SET field=field+1" no longer works? > > > Well, he

Re: "SET field=field+1" no longer works?

2002-02-26 Thread Tyler Longren
;t get executed properly. It only works correctly when issuing the query from the mysql command line client. :) Tyler - Original Message - From: "DL Neil" <[EMAIL PROTECTED]> To: "Tyler Longren" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, Febr

Re: "SET field=field+1" no longer works?

2002-02-26 Thread DL Neil
Hi Tyler, [back on-list so that others can offer their wisdom!] OK, so it's not a problem with the MySQL client, then it's likely the PHP. Most likely that the username and password data values are strings and need to be properly contained with single- or double-quotation marks. If you need fu

Re: "SET field=field+1" no longer works?

2002-02-26 Thread DL Neil
Hello Tyler, Did someone pick up this question - haven't spotted a response on the list? I haven't spotted any such mis-behavior under either Win2000 or WinNT. Are you entering the query at the command line or into some tool? Have you tried another client? If it is still unresolved, send me (NO