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. Restrict user to delete database object in SQL SERVER 2005

Restrict user to delete database object in SQL SERVER 2005

Scheduled Pinned Locked Moved Database
databasehelpsql-serversysadminalgorithms
4 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.
  • L Offline
    L Offline
    LTMKH
    wrote on last edited by
    #1

    Dear All, I want create new user in SQL server 2005, and allow this user to run any SQL script ( most of this script use to select data using store procedure, create temp table , delete temp table...). I want to protect this user, not allow him to delete any object such as database, table , view, function... Can anyone help me please, I'm really stuck with searching... Thanks.

    L G 2 Replies Last reply
    0
    • L LTMKH

      Dear All, I want create new user in SQL server 2005, and allow this user to run any SQL script ( most of this script use to select data using store procedure, create temp table , delete temp table...). I want to protect this user, not allow him to delete any object such as database, table , view, function... Can anyone help me please, I'm really stuck with searching... Thanks.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      LTM_it_kh wrote:

      I want to protect this user, not allow him to delete any object such as database, table , view, function...
      Can anyone help me please, I'm really stuck with searching...

      Permissions[^] ..it's not "protecting" the user, but "limiting" the user.

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • L LTMKH

        Dear All, I want create new user in SQL server 2005, and allow this user to run any SQL script ( most of this script use to select data using store procedure, create temp table , delete temp table...). I want to protect this user, not allow him to delete any object such as database, table , view, function... Can anyone help me please, I'm really stuck with searching... Thanks.

        G Offline
        G Offline
        gvprabu
        wrote on last edited by
        #3

        Hi You will give the access rights to that user through TSQL or SQL Server Management Studio... Check the following links Script to determine permissions in SQL Server 2005[^] Configuring user permissions for Microsoft SQL Server[^] Assigning permissions and roles in SQL Server 2005/2008 databases[^]

        L 1 Reply Last reply
        0
        • G gvprabu

          Hi You will give the access rights to that user through TSQL or SQL Server Management Studio... Check the following links Script to determine permissions in SQL Server 2005[^] Configuring user permissions for Microsoft SQL Server[^] Assigning permissions and roles in SQL Server 2005/2008 databases[^]

          L Offline
          L Offline
          LTMKH
          wrote on last edited by
          #4

          Dear gvprabu, Thanks you so much for your help, finally i'm successful with to do it. Regard,

          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