Hello, Is there a length limit to a "where" sql statement fed to v.extract? I am getting an ... Error in db_open_select_cursor() ... in the middle of a very long query. Thanks for any hints, Luigi