(again): A tool to transfer the Add\Delete tables to the business table,
I???m wondering if there is simple tool that can transfer the Add\Delete tables to the business table. I got the attached model tool but it appears not to do the job
[ATTACH=CONFIG]31580[/ATTACH], [ATTACH=CONFIG]31581[/ATTACH]
What other tools might transfer the Add\Delete tables to the business table
Thank you
Best
Jamal
Solved! Go to Solution.
Jamal,
What do you mean with "attached model"? I only see a table... you probably mean you have made some edits in a replica or version, and now wish to transfer these to your main geodatabase and add them to DEFAULT and possibly compress to state 0?
Other than using the ESRI supplied tools (synchronize replicas, reconciling & posting version changes, and compress your geodatabase), it is unwise to start messing with the tables in SQL Server Management Studio. You may wreck your geodatabase.
If you need to see the state of DEFAULT, including all the Adds and Deletes in an application other than ArcGIS / non-ESRI software (e.g. in SQL Server Managament Studio), you can connect to the Versioned View instead of the base table. It should show you the latest state of DEFAULT including all changes in the Adds and Deletes tables (at least as far as reconciled and posted to DEFAULT, if you don't reconcile and post to DEFAULT, the changes of course won't be visible in DEFAULT).
select * from Communities_Points.DBO.versions
What might be the issue? Which tool is supposed to be used to get the data updated in the business table?
Jamal,
Just a quick observation, but based on your first screenshot in the last post, it shows the dataset being a "replica" ("Is Replica" is TRUE).
Are you actually looking in the right database, and compressing the right one? Shouldn't you be synchronizing with the parent and compress there?
Other thing: did you actually select "Reconcile and Post with parent version" in the Synchronize Changes wizard? If not, the data will not have been automatically reconciled and posted to your DEFAULT, and you will have to manually reconcile and post the replica version against DEFAULT and subsequently compress.
Please also note that even if you don't create additional versions, replication still requires the parent database to be versioned, and a Replica Version will be created upon creating the replica. This is why you need to reconcile and post this replica in the parent database against DEFAULT, and compress, before the edits will show up in the base table.
Do the tools depicted in the screenshot below can transfer the values stored in the Add\Delete tables to the business table?
The Compress GP tool you show in your model is responsible for moving rows from the A and D tables into the base table, assuming that no child versions reference the state IDs of those particular rows. Reconciling and posting beforehand (which you've correctly delineated in your model) is what moves your state ID pointers in the geodatabase. That is why reconciling, posting, and compressing are such critical parts of the geodatabase maintenance process.
select * from Communities_Points.DBO.versions