Skip to content
Simple SQL Tutorials

Simple SQL Tutorials

Your guide to querying and developing SQL Server databases

  • Home
  • Tutorials
    • The Basics
    • Transactions
    • Normalization
    • Querying data
    • Developing Databases
    • SQL Questions
    • Identity Property
    • JOIN
    • Data Types
    • Stored Procedures
    • Window functions
    • Data Definition Language
    • Views
    • Constraints
    • Set Operators
    • Table Expressions
    • Error Handling
    • Functions
    • Indexes
    • Triggers
  • Products
  • Contact
  • Privacy Policy
  • About

SQL Server NULLIF: Explained for Beginners

Posted on April 25, 2022August 17, 2023 by Josh D
SQL Server NULLIF: Explained for Beginners

Reading Time: 5 minutesThere are many ways we can compare the equivalency of two values in Microsoft SQL Server. We can use the regular equals ( = ) operator in an IF statement, for example, or we can use the handy CASE statement within the column list of a SELECT statement. But there Continue Reading

Posted In Error Handling, Querying data, Window functions

Do you know this rule about the CAST function?

Posted on April 18, 2022August 17, 2023 by Josh D
Do you know this rule about the CAST function?

Reading Time: 3 minutesThe CAST() system function is one of the most useful tools we have available to us in Microsoft SQL Server. We basically use it to convert a value from one data type to another on-the-fly. I was using CAST() in a query recently and encountered an interesting problem. If you Continue Reading

Posted In Data Types, Querying data, SQL Questions

FULL OUTER JOIN: The Ultimate Guide for Beginners

Posted on April 18, 2022August 17, 2023 by Josh D
FULL OUTER JOIN: The Ultimate Guide for Beginners

Reading Time: 8 minutesOne of the most common tools we use when querying SQL Server databases is the JOIN operation. There are many different kinds of JOIN operations in SQL Server, including: INNER JOIN LEFT OUTER JOIN RIGHT OUTER JOIN CROSS JOIN In this very brief tutorial, we’ll discuss a fifth type of Continue Reading

Posted In JOIN, Querying data

RIGHT JOIN in SQL Server: Explained for Beginners

Posted on April 11, 2022August 16, 2023 by Josh D
RIGHT JOIN in SQL Server: Explained for Beginners

Reading Time: 7 minutesThe JOIN operation in SQL Server is probably one of the most widely used querying tools available to us in Microsoft SQL Server. It is very important that you how JOINs work and the differences between the different types of JOINs. One type of JOIN is the RIGHT JOIN. In Continue Reading

Posted In JOIN, Querying data, The Basics

LEFT JOIN and LEFT OUTER JOIN: What’s the difference?

Posted on April 11, 2022August 16, 2023 by Josh D
LEFT JOIN and LEFT OUTER JOIN: What’s the difference?

Reading Time: 2 minutesThe JOIN operations can be a bit tricky in Microsoft SQL Server. If you are new to SQL Server, you might be trying to understand the different JOIN operations and how they work. You probably have some basic questions you’d like answered. When I was first starting out with SQL Continue Reading

Posted In JOIN, SQL Questions, The Basics

Do you understand this rule about SQL Server aggregate functions?

Posted on April 4, 2022August 16, 2023 by Josh D
Do you understand this rule about SQL Server aggregate functions?

Reading Time: 4 minutesAggregate functions in SQL Server are usually fairly straightforward tools. We normally use them in a GROUP BY clause to present meaningful aggregate information about our data. I recently came across an interesting problem at work dealing with aggregate functions that I thought would make a great tutorial. I hope Continue Reading

Posted In SQL Questions

Stored Procedure Output Parameters: A Guide for Beginners

Posted on April 4, 2022June 30, 2023 by Josh D
Stored Procedure Output Parameters: A Guide for Beginners

Reading Time: 3 minutesStored procedures are some of the most complex objects we have available to us in Microsoft SQL Server. There are many tips and tricks you need to know when creating and using them in your databases. In this very brief tutorial, we’ll talk about one of the more confusing things Continue Reading

Posted In SQL Questions, Stored Procedures

Tutorial Categories

Navigation:

Home » 2022 » 04

Sign up for our newsletter!

Recent Posts

  • “Why should I save my query as a View instead of a .SQL file?” Answered!
  • SQL Server DELETE vs. TRUNCATE: What’s the difference?
  • SQL Server COALESCE System Function: How It Works
  • Can we create indexes in table variables? YES WE CAN!
  • SQL Server WINDOW Clause: Explained!
Copyright All rights reserved | Theme: Flash Blog by Unitedtheme.
SimpleSQLTutorials.com uses cookies to provide the best experience on our website through tailored advertising. By clicking Accept, you agree to our use of cookies.AcceptPrivacy policy