Tablenames viewing and template structure for database management