arcpy.MakeTableView_management(data, table, 'OBJECTID < 100')
table = arcpy.MakeTableView_management(data) table.definitionQuery = 'OBJECTID < 100'
I too get this behaviour. I get around it by creating the table view in this manner.arcpy.MakeTableView_management(data, table, 'OBJECTID < 100')
As opposed to this, if this is how you are doing it.table = arcpy.MakeTableView_management(data) table.definitionQuery = 'OBJECTID < 100'