Category: Permission & Security

  • SQL Server Day to Day issues- Part2

    SQL Server Day to Day issues- Part2

    Here comes another issue that is being faced by DBAs frequently. (Read part 1 here) Issue- SQL Server Instance fails to start A number of problems can prevent the SQL Server service from starting. Let’s go through each of them. 1) Service account password incorrect or account locked or disabled If someone changes the SQL…

  • Script : Who all have access to SQL Server via AD Groups?

    Script : Who all have access to SQL Server via AD Groups?

    Dear Reader, Few days ago, I was looking for a script to find out who all have access to SQL Server via AD Groups. There are a couple of good scripts available for this task. However I thought of re-inventing the wheel. You are free to modify and re-share it. This script works with SQL Server…

  • SQL Server Day to Day issues – Part 1

    Here, I’m trying to share knowledge about Day to Day Issues while working with SQL Server and their quick resolution. Issue 1: Not able to access Database Properties Error : Property Owner is not available for Database. The Property may not exist for the object or may not be retrievable due to insufficient access rights.…

  • Database Permissions extraction script

    Database Permissions extraction script

    Dear DBAs, Few days back one of my junior colleague reported me that while performing database refresh, he extracted the permissions of database before refresh and applied the permissions back on it after restore but still all permissions were not applied correctly and user is reporting access related issues. I checked and found that the…

  • How to enable remote connection to SQL Instances from single SQL Server Management Studio?

    How to enable remote connection to SQL Instances from single SQL Server Management Studio?

    Problem : All SQL Server Instances in the Environment are not able to connect from central SQL  Server management Studio. Resolution: Below steps need to be followed to enable Remote Connection : 1) RDP to the SQL Server on which remote access needs to be enabled. 2) Open SQL Server Configuration manager (Start>All Programs>Microsoft SQL Server>Configuration Tools>Configuration manager) 3)…

  • How to get access on SQL Server if you don’t have “sa” password or sysadmin access?

    How to get access on SQL Server if you don’t have “sa” password or sysadmin access?

    PROBLEM DBAs need to have sysadmin access on SQL Server to support Databases effectively. There may come situations where DBAs neither have sysadmin access nor [sa] password. In that case, DBA needs to perform below activity to get the access. RESOLUTION PREREQUISITES: 1) Administrative privileges needed on Host Server. 2) Downtime of approximately 10 minutes…