Home Menu
  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software
Tomas Lind

Posts in Category ‘Permissions’

  • 2014/03/11
  • 0 comments

Map users to logins

“Why can’t I login after the database restore?” As a DBA, this is one of the questions I get most.

  • Posted in: Permissions, Security, System Stored Procedures
  • 2014/02/27
  • 0 comments

Deny updates on a table but allow inserts

Sometimes it is nessesary to deny updates on a table, but allow inserts. This is the case when the history must never be changed, for instance in a table with accounting data. This can be done in two different ways. … Read more →

  • Posted in: Permissions, Security, Triggers
  • 2014/02/20
  • 4 comments

List SQL server roles by users

SQL Server roles can be used to give users server wide privileges. The server roles are sysadmin, securityadmin, serveradmin, setupadmin, processadmin, diskadmin, dbcreator and bulkadmin. The mapping between users and server roles can be found in the system view sys.server_role_members. … Read more →

  • Posted in: Dynamic Management Objects, Permissions, Security
  • 2014/02/18
  • 0 comments

A replacement for syslogins

The system table sys.syslogins was marked as deprecated in SQL Server 2005, and is included up until 2012 for backwards compability only. So what is the replacement of sys.syslogins? As it turns out, there is no exact match in SQL … Read more →

  • Posted in: Dynamic Management Objects, Permissions, Security
  • 2014/01/23
  • 1 comment

Changing the database owner

When a database is created, the logged in user is set as the database owner as default. Often, this user account is a physical person and he or she may get more permissions in the database than intended. Normally, a … Read more →

  • Posted in: Configuration, Permissions, System Stored Procedures

confided data manager

Get compliant with the GDPR!


High Coast Database Solutions

High Coast Database Solutions

sql server consulting services


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • How to align columns in Notepad++
  • MACD in T-SQL
  • Manual failover in a SQL Server cluster
  • Relative Strength Index RSI in T-SQL
  • Export data from Excel to SQL Server

Recent Posts

  • Get element max value from folder with XML files
  • Dynamic Data Masking (DDM) – Mask query results
  • The T-SQL Merge statement
  • From SQL Server to MSMQ using PowerShell
  • Identity columns that are about to overflow

Archives

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Instagram

This error message is only visible to WordPress admins

Error: No connected account.

Please go to the Instagram Feed settings page to connect an account.

  • © 2022 Tomas Lind
  • Proudly powered by WordPress
  • Theme: Waipoua by Elmastudio
Top ↑