Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: sql queries updation improper

by derby (Abbot)
on Jul 16, 2007 at 13:58 UTC ( #626844=note: print w/replies, xml ) Need Help??


in reply to Re^2: sql queries updation improper
in thread sql queries updation improper

Autoincrementing happens on the insert, not the update. There's not enough info in the OP but cid is either the primary key or part of a compound key and it needs to be part of the update sql. (sigh ... I need to remove *master of subtlety* from my CV).

-derby

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://626844]
help
Chatterbox?
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2017-01-20 05:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (173 votes). Check out past polls.