Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in posts by eichertc only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
eichertc
User Profile
Collapse
Profile Sidebar
Collapse
eichertc
Last Activity: Jan 28 '13, 10:13 PM
Joined: Jan 28 '13
Location:
Subscriptions
1
Subscribers
0
Activities
About
Media
Subscribed
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Source
All
eichertc only
Visitor Messages Only
Advanced
Filtered by:
Clear All
new posts
eichertc
started a topic
Does MAX() in INSERT / UPDATE work ?
in
MySQL
Jan 28 '13, 10:02 PM
Does MAX() in INSERT / UPDATE work ?
How can I say this ?
Code:
INSERT INTO table SET nr=MAX(nr)+1 WHERE date='xx.xx.xx xx:xx:xx'
nr is not primary, so I can not use auto increment.
See more
|
Go to post
Last edited by
Rabbit
;
Jan 28 '13, 10:52 PM
.
Reason:
Please use code tags when posting code.
No activity results to display
Show More
Working...
OK
OK
Cancel
👍
👎
☕