Generate upids for all entries in defined tables