I am trying to get data from table A to table B. But it is important that domains in table B would remain. So I tried to use Append, but it doesn't work with tables. Any ideas?

  • Are you getting an error message when you are trying to use append?
    – user32496
    Jul 9 '15 at 8:20
  • 1
    Can you share your code?
    – dassouki
    Jul 10 '15 at 18:58

Perhaps use arcpy.SearchCursor to iterate through Table A and use arcpy.InsertCursor to insert the values selected in Table A into Table B, you can even use arcpy.UpdateCursor to update existing fields.

Unfortunately I don't know what your data looks like so I am unable to give you an example of each tool that replicates your scenario., but, I hope these tools give you what you are looking for.

if you are looking to actually create Table B from Table A you can use arcpy.CopyRows_management(dbaseTable, outTable)

  • I use these tools all the time to select & query data from tables and insert values into other tables etc.
    – user32496
    Jul 9 '15 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy