table_create: return appropriate values