Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- Question about record ID's when inserting from two different sources.


LifeinAsia - 10:44 pm on Oct 24, 2012 (gmt 0)


Ah, wait- are you actually moving the data from the live table to the snapshot table or copying the data?

If moving, then I guess it's a bit easier.
1) Edit: non-issue, since the record ID should stay the same.
2) Edit/Delete: non-issue, since the record ID should stay the same or get deleted.
3) Add: just add the entry to the live table (to get the incremental record ID) then immediately move it to the staging table.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4511901.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com