Quickly Find Failed SQL Server Logins Using the Windows Event Log
Learn how to use custom Event Log views and PowerShell to find failed SQL Server logins.
Learn how to use custom Event Log views and PowerShell to find failed SQL Server logins.
Learn how to Migrate the Correct Logins with a SQL Server Database including Windows Users, Windows Groups, SQL Server Logins, mismatched and orphaned logins.
My security team was recently performing security scans and they noticed that when they attempted a connection to my SQL Servers, they were getting self-signed certificates. Where does SQL Server store these certificates? Also, why were they seeing self-s
Learn how to determine the SQL Server Permissions Granted to All Users By Default in the public role, in system databases and user defined databases.
We have SQL Server alerts configured to notify us when there are issues. However, one problem we have is that sometimes we get a lot of email all at once. How can we suppress SQL Server Alerts to reduce the number of emails?
Learn how to script SQL Server Database Owners for Disaster Recovery in an automated manner with a script, SQLCMD and SQL Server Agent.
Learn about some of the challenges with having SELECT * in SQL Server T-SQL code including code modifications, source control dependencies and troubleshooting.
In this tip we look at different permission levels required to perform a Truncate Table command in a SQL Server database.
Learn about the best practices to secure the SQL Server sa account to avoid security issues.
In preparation for disaster recovery, I need to make sure I can recover the logins onto another server. In this tip we look at how to setup an automated process to script all SQL Server logins.
I have read part 1 and part 2 of your tip series and the tips are great. I have a large environment with numerous SQL Server databases where I need to clone logins. How can I automate this code to save time and ensure accuracy?
Learn how to clone a SQL Server login this second part of this series.
I need to create a login for my SQL Server and assign it the correct permissions. I already have another login which has the exact permissions I want. Is there a way I can clone the login that has all the permissions?
I have been tasked with setting up Transparent Data Encryption (TDE) on a database with sensitive information. I need to know the steps to restore this backup to another instance.
I have a job that runs at a particular time during the week. However, this week it didn't run when I expected. I haven't modified that job in any way. I did modify another job's schedule, and the job in question ran at the exact time I set the second job
I was asked to catalog all the port information for our SQL Servers and I'm looking to automate things, or at least gather the information without logging on to each server. In this tip we look at how this can be done.
I've recently taken over a SQL Server and I have been asked if there is encrypted data in any of the user databases. In this tip we look at how to figure this out.
I want to get a catalog of all the SQL Server services running on my servers. How might I do this? I don't want to take a bunch of screenshots of SQL Server Configuration Manager or SQL Server Management Studio. Surely there's a better way!
In this article, we look at how to setup alerts 17 through 25 using SQL Server Agent Alerts to alert you when an issue occurs.
I'm responsible for the security of my organization's SQL Servers. Lately I've been looking outside of SQL Server and wondering what I should be checking. Someone mentioned the Administrators group and that made me think about other groups on the server.
In our extract, transform, and load (ETL) processing, we have some sensitive files and folders. Files containing financial information, as well as configuration files and the like, are stored on disk. We need to know if someone touches them. Is there a wa
Learn how to store password hashes in SQL Server using the HASHBYTES function as well as a salt to encrypt the password.
I know SQL Server 2012 added a feature where you can use contained databases. I also have heard that these databases can have users which can be authenticated by the SQL Server. However, the users don't appear in the standard sys.sql_logins or sys.server_
In a database I was able to create a stored procedure. However, when I went to execute the stored procedure, SQL Server told me I didn't have permission to do so. Is this a bug or did I do something wrong? In this tip we look at this issue.