asp.net - Use the same sql Server table to do different updates, is there a way to do that? -
im using asp.net (vb.net), in database :
- have 1 table called (trade), same rows of table used 3 different users, these users can make different updates on table, should see basic informations of table (i mean basic, before table (trade) has been updated)
- the problem here when first user wants modify table's rows, second , third user cannot see basic information more, , if decide change or update data, first lose updated rows..
the data overwritten every time users make updates on table.
what want, know if there way copy, or image of table 3 users, , every user can update normally, without creating same table same rows 3 times??!
update table structure is: trade(trname, carrier, pol, pod, vgp, qgp) there no primary key..
thank you..
solution problem 2 copies of original table. show original table user initial data. , in second table keep updated data always. trick comes here maintain log, have maintain log table, table have fields of original table along 1 additional column "userid", have id of user has changed value. each time before updating data, copy in log table. if suits need post fields of table can workout on table structures.
Comments
Post a Comment