<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using CreateReplica GP tool to check out tables in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/using-createreplica-gp-tool-to-check-out-tables/m-p/417115#M14091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the python code I am using for the CreateReplica geoprocessing tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;arcpy.CreateReplica_management("'Database Connections\\MySDEConnection.sde\\DB.OWNER.Table1';'Database Connections\\MySDEConnection.sde\\DB.OWNER.Table2'", "CHECK_OUT", "C:\Temp\MyFileGDB.gdb", "MyCheckoutVersion", "FULL", "CHILD_DATA_SENDER", "ALL_ROWS", "DO_NOT_REUSE", "GET_RELATED", "", "DO_NOT_USE_ARCHIVING")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the name of the connection and of the table names to make them generic for this example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said in my first post, the parameter that I have set to "ALL_ROWS" is supposed to check out all rows for both feature classes and tables.&amp;nbsp; What is happening for me is that it only checks out the schema for the tables -- no data/no records.&amp;nbsp; I would think that ALL_ROWS should be the default, but it isn't.&amp;nbsp; The default option for this parameter is "USE_DEFAULTS" which only checks out all rows for feature classes. Check the help for the CreateReplica tool and see for yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps you get a better idea of what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions will be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 13:01:14 GMT</pubDate>
    <dc:creator>TimTeaford</dc:creator>
    <dc:date>2012-08-30T13:01:14Z</dc:date>
    <item>
      <title>Using CreateReplica GP tool to check out tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-createreplica-gp-tool-to-check-out-tables/m-p/417114#M14090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to use the CreateReplica geoprocessing tool to check out tables using a "&lt;/SPAN&gt;&lt;STRONG&gt;CHECK_OUT&lt;/STRONG&gt;&lt;SPAN&gt;" type of replica.&amp;nbsp; The problem I am having is that my tables get checked out with only their schema -- no data/no records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I see in the help that there is a parameter called "&lt;/SPAN&gt;&lt;STRONG&gt;expand_feature_classes_and_tables&lt;/STRONG&gt;&lt;SPAN&gt;". I first tried using the "&lt;/SPAN&gt;&lt;STRONG&gt;USE_DEFAULTS&lt;/STRONG&gt;&lt;SPAN&gt;" option and the tables would check with just their schema -- no data/no records.&amp;nbsp; I then tried using the "&lt;/SPAN&gt;&lt;STRONG&gt;ALL_ROWS&lt;/STRONG&gt;&lt;SPAN&gt;" option and the tables STILL checked out with just their schema -- no data/no records.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want the tables to check out with all of their data.&amp;nbsp; Does anyone have any suggestions on how I can do this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2012 19:48:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-createreplica-gp-tool-to-check-out-tables/m-p/417114#M14090</guid>
      <dc:creator>TimTeaford</dc:creator>
      <dc:date>2012-08-29T19:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using CreateReplica GP tool to check out tables</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/using-createreplica-gp-tool-to-check-out-tables/m-p/417115#M14091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here is the python code I am using for the CreateReplica geoprocessing tool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:Courier New;"&gt;arcpy.CreateReplica_management("'Database Connections\\MySDEConnection.sde\\DB.OWNER.Table1';'Database Connections\\MySDEConnection.sde\\DB.OWNER.Table2'", "CHECK_OUT", "C:\Temp\MyFileGDB.gdb", "MyCheckoutVersion", "FULL", "CHILD_DATA_SENDER", "ALL_ROWS", "DO_NOT_REUSE", "GET_RELATED", "", "DO_NOT_USE_ARCHIVING")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the name of the connection and of the table names to make them generic for this example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said in my first post, the parameter that I have set to "ALL_ROWS" is supposed to check out all rows for both feature classes and tables.&amp;nbsp; What is happening for me is that it only checks out the schema for the tables -- no data/no records.&amp;nbsp; I would think that ALL_ROWS should be the default, but it isn't.&amp;nbsp; The default option for this parameter is "USE_DEFAULTS" which only checks out all rows for feature classes. Check the help for the CreateReplica tool and see for yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps you get a better idea of what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions will be greatly appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/using-createreplica-gp-tool-to-check-out-tables/m-p/417115#M14091</guid>
      <dc:creator>TimTeaford</dc:creator>
      <dc:date>2012-08-30T13:01:14Z</dc:date>
    </item>
  </channel>
</rss>

