ALTER VIEW OWNER TO
Change the owner of a view. The current owner of a view can be viewed in theinformation_schema.views view on view_owner column.
check ownership page for more info.
Syntax
Parameters
| Parameter | Description |
|---|---|
<view> | Name of the view to change the owner of. |
<user> | The new owner of the view. Can be either a user name or a role name. |