Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. I want to change the owner of the object.............

I want to change the owner of the object.............

Scheduled Pinned Locked Moved Database
databasedesignquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    under2811
    wrote on last edited by
    #1

    Hello friends! I want to change the owner of the object I have table whose owner is dbo but i want to change it to hov can u please tell me complete syntax of that Also when we right click on table and select design table , here we find menu like Trigger then Show permission then show dependency like that If I chose show permission here we find list all users/userdefined database roles/public like that , can u please explain that thing (window) to me what that mean by? T.I.A Shashank

    C S 2 Replies Last reply
    0
    • U under2811

      Hello friends! I want to change the owner of the object I have table whose owner is dbo but i want to change it to hov can u please tell me complete syntax of that Also when we right click on table and select design table , here we find menu like Trigger then Show permission then show dependency like that If I chose show permission here we find list all users/userdefined database roles/public like that , can u please explain that thing (window) to me what that mean by? T.I.A Shashank

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      What are you talking about ? I got to Design Table in SQL Server, then I could not follow your instructions - are you using SQL Server, or something else ? Not that you need to use SQL Server, but you could provide at least some clue, seeing as your question is not about SQL, ADO, or ADO.NET. Christian Graus - Microsoft MVP - C++

      U 1 Reply Last reply
      0
      • C Christian Graus

        What are you talking about ? I got to Design Table in SQL Server, then I could not follow your instructions - are you using SQL Server, or something else ? Not that you need to use SQL Server, but you could provide at least some clue, seeing as your question is not about SQL, ADO, or ADO.NET. Christian Graus - Microsoft MVP - C++

        U Offline
        U Offline
        under2811
        wrote on last edited by
        #3

        under2811Hi I am asking two thing first is how to change owner of a table i.e. I have table whose owner is 'dbo' and now I want to change owner dbo to owner 'hov' How to change that??? second thing i asked if we open E.M here we find lots of table suppose if I right click on one table say employees then we get menus like new table,design table,open table like that if i cliked on design table , we find another more menus like set primary keys,triggers,show permissions like that now i want to know what this term 'show permission' is??? please explain in detail shashank

        C 1 Reply Last reply
        0
        • U under2811

          under2811Hi I am asking two thing first is how to change owner of a table i.e. I have table whose owner is 'dbo' and now I want to change owner dbo to owner 'hov' How to change that??? second thing i asked if we open E.M here we find lots of table suppose if I right click on one table say employees then we get menus like new table,design table,open table like that if i cliked on design table , we find another more menus like set primary keys,triggers,show permissions like that now i want to know what this term 'show permission' is??? please explain in detail shashank

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Ah, I see. It shows the users of the database, and what permissions each of them has in regard to that table. Or, if you don't know what it is, don't mess with it :-) The answer to question 1 is probably sp_changeobjectowner. Look it up in the SQL Server books that come with the product. Christian Graus - Microsoft MVP - C++

          1 Reply Last reply
          0
          • U under2811

            Hello friends! I want to change the owner of the object I have table whose owner is dbo but i want to change it to hov can u please tell me complete syntax of that Also when we right click on table and select design table , here we find menu like Trigger then Show permission then show dependency like that If I chose show permission here we find list all users/userdefined database roles/public like that , can u please explain that thing (window) to me what that mean by? T.I.A Shashank

            S Offline
            S Offline
            Scott Serl
            wrote on last edited by
            #5

            I don't know how to do it from enterprize manager, but you can run sp_changeobjectowner from query analyzer to change the ownership of a table.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups