create and replace prot type view.