Details

    • ghx-label-5

    Description

      Create statement to allow setting owner.

      ALTER TABLE database_name.table_name SET OWNER [USER|ROLE] user_or_role;
      ALTER VIEW database_name.view_name SET OWNER [USER|ROLE] user_or_role;

      Examples:

      ALTER TABLE <table> SET OWNER USER <user>
      ALTER TABLE <table> SET OWNER ROLE <role>
      
      ALTER VIEW <view> SET OWNER USER <user>
      ALTER VIEW <view> SET OWNER ROLE <role>
      

       

      Attachments

        Issue Links

          Activity

            People

              fredyw Fredy Wijaya
              aholley Adam Holley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: