Skip to content
sqlkitty

sqlkitty

sql for everyone

Menu
  • Home
  • About
  • Auditing
  • Code
  • Presentations
  • Publications
  • Contact

Category: sql server administration

Get user permissions on SQL Server with a script

  • Posted onJanuary 22, 2021January 22, 2021
  • security

The main reason for creating this script was to compare user permissions when someone came to me saying “I need the same permissions as so and so,” and then I would scratch my head trying to figure out how to get this quickly and easily.…

Continue Reading

Can a database on SQL Server be owned by no one?

  • Posted onDecember 29, 2020December 30, 2020
  • sql server administration

Yes, a database on SQL Server can be owned by no one! This is a NULL value as the owner. Apparently, this can happen because the login that owned it no longer exists. I discovered this when I was going through databases owned by users…

Continue Reading

updating multiple jobs on sql agent with a prefix

  • Posted onAugust 16, 2019
  • jobs

This came up because we had many sql agent jobs that DBA’s don’t want to be alerted to like sql agent jobs that run SSIS packages.  Those alerts need to be sent to the database developers instead.  We use Idera Diagnostic Manager to send failed…

Continue Reading

Part 1: Migrating to Managed Instance: Checking for issues when migrating to managed instance

  • Posted onAugust 1, 2019
  • azure

When migrating to managed instance from SQL Server, most features are supported, but you need to assess your SQL Server and the databases you want to migrate to ensure there aren’t any features enabled that aren’t supported. You can do this with the Data Migration…

Continue Reading

when was your last backup? and email notification if it was “too long” ago

  • Posted onFebruary 10, 2019
  • sql server administration

We have a monitoring tool that tells us when a backup fails. This only works if the agent is running. If the agent isn’t running, then you don’t get an email that a job failed since the job didn’t run, and the monitoring tool doesn’t…

Continue Reading

SQL Server Data Collection

  • Posted onJune 10, 2018
  • sql server administration

I was approached by some developers that wanted to benchmark performance on a development server.  Good for them thinking ahead before it’s in production potentially ruining performance. Instead of using an Idera Diagnostic Manager licence, which means taking one away from a production server to…

Continue Reading

TempDB configuration

  • Posted onJanuary 26, 2018
  • sql server administration

https://www.brentozar.com/archive/2016/01/cheat-sheet-how-to-configure-tempdb-for-microsoft-sql-server/ 1 volume for all tempdb files Use SSDs 8 equally sized files Size them and log file to fill up the tempdb drive    

Continue Reading

Availability groups firewall port requirements

  • Posted onSeptember 10, 2017
  • sql server administration

There’s a really good guide on installing and setting up AG by Brent Ozar, but if you want to setup a multi subnet failover cluster, you will need a lot of ports opened up so that your AG will actually work. Port number Between Reason…

Continue Reading

cycle error log

  • Posted onMay 30, 2016
  • sql server administration

good to do b/c the bigger it is, the longer it will take to load into memory — USE msdb; GO EXEC sp_cycle_agent_errorlog;

Continue Reading

What to Do When DBCC CHECKDB Reports Corruption

  • Posted onMay 19, 2016
  • sql server administration

Very detailed https://www.brentozar.com/?s=What+to+Do+When+DBCC+CHECKDB+Reports+Corruption

Continue Reading

Posts pagination

Previous Page Page 1 Page 2 Page 3 Page 4 … Page 13 Next Page

Newletter Signup

Loading

Recent posts

  • T-SQL Tuesday #186 Invitation – Managing Agent Jobs
  • Query multiple Azure SQL Databases
  • Azure Vulnerability Assessments
  • Using Cron in Postgres Flex
  • Why use XACT_ABORT?

Categories

  • audit (2)
  • azure (45)
  • containerization (14)
  • datawarehousing (4)
  • dba (52)
  • editorial (8)
  • excel and others (3)
  • IT Certifications (1)
    • network+ (1)
  • linux (2)
  • network administration (15)
  • newjob (7)
  • other (8)
  • performance (1)
  • postgresql (16)
  • powershell (1)
  • security (3)
  • sql server (22)
  • sql server administration (124)
    • jobs (4)
  • sql sever syntax (78)
  • terraform (5)
  • tsql2sday (2)
  • web dev (6)
  • zen (2)

Archives

  • June 2025 (1)
  • May 2025 (2)
  • April 2025 (2)
  • March 2025 (3)
  • February 2025 (3)
  • January 2025 (4)
  • November 2024 (3)
  • October 2024 (1)
  • September 2024 (2)
  • August 2024 (1)
  • July 2024 (5)
  • June 2024 (4)
  • May 2024 (4)
  • April 2024 (3)
  • March 2024 (2)
  • February 2024 (1)
  • January 2024 (5)
  • December 2023 (2)
  • November 2023 (5)
  • October 2023 (1)
  • September 2023 (1)
  • August 2023 (2)
  • July 2023 (2)
  • June 2023 (3)
  • May 2023 (4)
  • April 2023 (3)
  • March 2023 (5)
  • January 2023 (1)
  • October 2022 (2)
  • April 2022 (1)
  • December 2021 (1)
  • May 2021 (1)
  • April 2021 (2)
  • February 2021 (7)
  • January 2021 (4)
  • December 2020 (2)
  • November 2020 (1)
  • January 2020 (2)
  • December 2019 (3)
  • August 2019 (2)
  • February 2019 (1)
  • June 2018 (1)
  • January 2018 (1)
  • September 2017 (1)
  • May 2016 (4)
  • January 2016 (2)
  • December 2015 (2)
  • August 2015 (2)
  • July 2015 (4)
  • June 2015 (3)
  • May 2015 (9)
  • April 2015 (4)
  • November 2014 (7)
  • October 2014 (19)
  • September 2014 (3)
  • July 2014 (2)
  • July 2013 (1)
  • December 2012 (1)
  • October 2012 (1)
  • December 2011 (6)
  • October 2011 (6)
  • September 2011 (5)
  • July 2011 (1)
  • June 2011 (1)
  • May 2011 (2)
  • April 2011 (1)
  • February 2011 (15)
  • January 2011 (19)
  • December 2010 (14)
  • November 2010 (16)
  • October 2010 (3)

RSS SQL Kitty RSS

  • T-SQL Tuesday #186 Invitation – Managing Agent Jobs
  • Query multiple Azure SQL Databases
  • Azure Vulnerability Assessments
  • Using Cron in Postgres Flex
  • Why use XACT_ABORT?
© Copyright 2025 – sqlkitty
Chip Life Theme by TutorialChip ⋅ Powered by WordPress