read of table fields from tatabase