G
Guest
I'm working on a web application that will store employees on to a sql server
db. My Employee class consists of several variables (emplcode, fname, lname,
lname2) and everytime the user saves a new employee, it'll fill all those
variables and do an SQL INSERT. Is this the best way to store data when
several users are inserting "concurrently"? For example, what would happen if
user1 clicks "Finish" and starts the DB insertion process and, while it's
inserting, user2 clicks on "Finish"? Do I need code to manage the fact that
two users are inserting at the same time?
Thanks.
db. My Employee class consists of several variables (emplcode, fname, lname,
lname2) and everytime the user saves a new employee, it'll fill all those
variables and do an SQL INSERT. Is this the best way to store data when
several users are inserting "concurrently"? For example, what would happen if
user1 clicks "Finish" and starts the DB insertion process and, while it's
inserting, user2 clicks on "Finish"? Do I need code to manage the fact that
two users are inserting at the same time?
Thanks.