Simultaneous select/update/insert


Posted on 16th Feb 2014 07:03 pm by admin

Hi

How would I need to go about when 2 users update a single row simultaneous? And how would I need to go about when 2 users want to edit a row?

Did you know?Explore Trending and Topic pages for more stories like this.
Should I first lock the table, update the row to indicate who is editing the data unlocking the table and selecting the row where the editor_id = the current user_id? Plus what happens when I lock the table do other users get a failed query? and what errno does mysql return in this case?

Do I need to use not null on required fields or should I leave it out?
No comments posted yet

Your Answer:

Login to answer
316 Like 54 Dislike
Previous forums Next forums
Other forums

Grids not displaying decimals, and behaving differently on different PCs?
Hello,

I coded a relatively simple MII application that allows data from a form to be add

Echo Tweaking help!
HI. I would like to have the output of the entered variables repeat forever, but it's stopping at th

Display last record first.
I need some help how put the last record first and first record last.

Thanks

Code: &am

Custom Container in module pool program
Hello everyone,

I have created a custom control in my module pool screen. Now I want to s

sapgui f4 help last search
I know this has to be simople. One user (maybe more) does not have the "last search saved" from the

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

Display certain image depending on time of year
Hi, I am new to these forums and would really appreciate some advice on a piece of coding I have don

Prevention Help
How can I use PHP or any other language (feel free to move this thread) to prevent users doing scree

Session is not saving
I am not trying to do anything too fancy, I am just trying to get some $_SESSION data to save and us

Change Sort Order to Display Newest File First
Hi Guys,

I have a page that sorts the contents (PDFs) of a directory and displays them on the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash