You can't control the objectids in either location, and can only keep track of old IDsand edits through a great deal of effort. It's generally easier to use ArcGIS as it has been designed, so I think you should look into the Disconnected Editing model.A search on "Disconnected Editing" should pull up a wealth of information.- V
The only way the objectids could be consistent is if you a) selected all features, b) inserted them in objectid order, and c) the source dataset started at 1 and did not have any gaps. If you want to preserve the old ids, you'll need to insert them as an additional column (e.g., "prev_oid integer not null"), since there are no guarantees about SDE-set objectid allocation(except that they will be unique non-zero positive values).- V
ObjectIDs are managed and controlled by the Geodatabase, they are also unique within a given feature class/table within a Geodatabase. You cannot control the values assigned as ObjectIDs within a feature class/table. While the Insert cursors do not maintain ObjectIDs between feature classes/tables, since you are inserting new records into the target, Copy/Paste does maintain ObjectIDs. Why do you need to keep the ObjectIDs consistent between your source and target Geodatabases?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.