A LEFT OUTER JOIN with exclusion is a type of JOIN operation in SQL that combines data from two tables, based on a JOIN condition, and excludes the rows that match the JOIN condition. This type of JOIN is called an outer JOIN with exclusion because it includes the rows from the left (or first) table that do not have …

Left Outer JOIN with Exclusion Read more »

A common table expression, also known as a CTE, is a temporary named result set in SQL that can be used within a SELECT, INSERT, UPDATE, or DELETE statement. It is defined using the WITH keyword, and can be thought of as a temporary view or inline table-valued function. One of the primary advantages of using a common table expression …

Common Table Expressions Read more »

A SQL Server inner join is a type of join that combines records from two or more tables in a database based on the values of the joined columns from each table. Inner joins only return rows that have matching values in the joined columns. In contrast, an outer join will return all rows from one table, and any matching …

Inner Join vs. Outer Join Read more »

Sometimes we all need a little help without a long term commitment. That why we created our SQL Server Mentoring service at Stedman Solutions. SQL Server Mentoring is a training / consulting option for those who just need a little help or direction. This is a cost-effective approach for those who need just a little help. Some call it coaching, …

SQL Server Mentoring – Do you need some occasional help? Read more »

If you’re growing your business, you don’t have time to manage your databases. Let us manage your SQL Server so you can seize the day! Our Managed Services are so comprehensive you would think we’re on your payroll. So you can focus on what the business really needs. Below is what our Managed Services can provide you! Our monthly managed services is …

Focus on what’s best – leave us the rest Read more »

In SQL Server, an index is a data structure that allows you to quickly retrieve data from a table based on the values of one or more columns. There are two main types of indexes in SQL Server: clustered and nonclustered indexes. A clustered index A nonclustered index The main difference between a clustered and a nonclustered index is how …

SQL Server and Clustered vs. NonClustered Indexes Read more »

In SQL Server, missing indexes are indexes that the query optimizer has determined would improve query performance, but do not exist in the database. Identifying and creating missing indexes can improve query performance and help ensure that the database is running efficiently. To find indexes that are missing in SQL Server, the administrator can use the sys.dm_db_missing_index_details dynamic management view. …

How to Find Missing Indexes Read more »

To find the version of SQL Server that is being used, you can use the @@VERSION system function. This function returns a string that contains information about the version of SQL Server, the operating system, and other details. To use this function, you can run the following query: This query returns the version column, which contains the information returned by …

Finding the version of SQL Server being used Read more »

There are many different DBA (database administrator) interview questions that employers may ask to assess a candidate’s knowledge and skills. Some of the most common and popular DBA interview questions include: These questions are designed to assess a candidate’s knowledge of the core concepts and skills required for a DBA role. By asking these questions, employers can get a better …

Common DBA Interview Questions Read more »

If you have a SQL Server with backups and vulnerability issues or running on an older version of SQL, I can guess to say you may not be sleeping as well as you should. Or maybe you’re in constant worry. With our Managed Services you’re covered! And this Month it’s even easier to say “yes”. Receive your first 12 months …

Sleep Better Knowing We’ve Got You Covered Read more »