Tag: Script Library

Undermanaged SQL Servers can lead to frustration for both your customers and your team.

The Costs of Undermanaged SQL Servers for Financial Institutions

Banks and credit unions rely on SQL Server databases to power transactions, portals, reporting, fraud detection, and core systems. Despite this, many institutions end up undermanaging or even overlooking these critical systems. The result? Performance lags, security vulnerabilities, and unplanned downtime that can cost far more than most institutions realize. If you’re responsible for operational…
Read more

How to Encrypt Sensitive Text in SQL Server with ENCRYPTBYPASSPHRASE

How to Encrypt Sensitive Text in SQL Server with ENCRYPTBYPASSPHRASE

Storing sensitive information in a database, like passwords or social security numbers, is common practice. However, storing them securely is less common. Unfortunately, one of the most typical approaches is to store sensitive information in a table as clear text. That means that anyone with access to that table can see all of that sensitive…
Read more

Prevent SQL Server Outages by Monitoring Transaction Log Growth

Prevent SQL Server Outages by Monitoring Transaction Log Growth

I’ve lost count of the times I’ve been called after hours due to a drive filling up. The usual culprit? Transaction file log growth. Monitoring the growth of your SQL Server transaction log files is crucial for maintaining database performance and ensuring system reliability. Unchecked transaction log growth can lead to disk space issues and…
Read more

Scripts SQL Server Logins

Useful Scripts For SQL Server Logins and Permissions

Since security and permissions are a big part of a DBA’s job, it’s important to be able to find out things like who has elevated login permissions or when a login was last used. Here are a few queries to help you check your server and database access. Most of these scripts are based off…
Read more

Basic Availability Groups: Affordable High Availability with Key Limitations

Basic Availability Groups: Affordable High Availability with Key Limitations

In SQL Server 2022, Basic Availability Groups provide a limited, cost-effective solution for high availability and disaster recovery in the Standard Edition. However, they have several limitations when compared to a standard Availability Group in the Enterprise Edition. Although Basic AGs were introduced before SQL Server 2022, we’ll focus strictly on the latest version. Let’s…
Read more

Reducing Business Risks for a SQL Server Estate

Reducing Business Risks for a SQL Server Estate

Your SQL Servers are the backbone of your company’s data operations. They power critical applications and store valuable information. They enable financial decisions, undergird operational activities, and support your sales processes. But what happens if there’s a problem? What happens when data is lost or corrupted? Or if one of your key systems is down…
Read more

Deprecated Feature SQL

Tracking Deprecated Features in SQL Server

With each new release of SQL Server, we gain exciting new features—but also face the reality of deprecated features that should be phased out. Although these deprecated features aren’t immediately disabled, they won’t be supported in future SQL Server versions. Ideally, you should start removing them from your code now to avoid potential issues during…
Read more

Streamline your failovers with contained Availability Groups

Streamline SQL Server Management with Contained Availability Groups

SQL Server Availability Groups can present challenges after a failover, such as missing logins, outdated passwords, or absent SQL Server Agent jobs. Some clients address these issues by requiring the primary replica to remain on the same instance. If a failover occurs due to an outage or patching, they generally request to revert the AG…
Read more

Overcome the roadblocks between you and a better SQL Environment

“We Want a Better SQL Environment, Just Not Yet.”

No one wants a slow, unreliable SQL Server that leaks data like a sieve. No, they want a fast, reliable, and secure database environment. However, they may not want it right now. Creating a better SQL environment can wait until later, right? It might seem that way, but the risks will only grow while you…
Read more

SQL Server memory configuration fine-tunes your servers' performance.

SQL Server Settings: Memory Configuration

SQL Server is designed to efficiently manage memory on its own. It requests memory when it’s needed and releases memory back to the system when it’s not. However, the default settings may not be ideal for your situation. An experienced database administrator will usually fine-tune these settings to optimize performance and server stability. Minimum server…
Read more