Hi, Markus has dicovered, that v.select fails on OGR layers (v.external). The reason is that db_copy_table_by_ints selects all rows and then checks for all rows if 'key' (FID) matches the list. Unfortunately FID is not in "select * from', it is available only if 'select FID, * from' is used. Anybody has an idea how to fix that? Radim