T-SQL Programming Greg Larsen in T-SQL Programming Using a Subquery in a SELECT statement Did you know you can include a SELECT statement within another SELECT statement? When a SELECT statement is embedded within... 26 June 2023 15 min read
T-SQL Programming Greg Larsen in T-SQL Programming Paging Data in T-SQL Sometimes when working with very large sets of data, you may not want to return all of the data at... 20 March 2023 10 min read
Learn SQL Server Greg Larsen in Learn SQL Server Using TOP clause in a SELECT statement There might be a time when you might want to return just a few rows of a result set, instead... 06 February 2023 11 min read
Learn SQL Server Greg Larsen in Learn SQL Server Manage Data Over Time with SQL Server MERGE Statement Once data is in a table it needs to be maintained. New records will need to be added, and existing... 17 January 2023 13 min read
Learn SQL Server Greg Larsen in Learn SQL Server The Basics of Deleting Data from a SQL Server Table Over time data in SQL Server tables needs to be modified. There are two major different aspects of modifying data:... 07 November 2022 12 min read
Learn SQL Server Greg Larsen in Learn SQL Server The Basics of Updating Data in a SQL Server Table Once data is inserted into a table, data typically needs to be maintained as time goes on. To make changes... 21 October 2022 14 min read
Learn SQL Server Greg Larsen in Learn SQL Server The Basics of Inserting Data into a SQL Server Table Before data can be read from of a SQL Server database table, the table needs to contain rows of data.... 04 October 2022 15 min read
T-SQL Programming Greg Larsen in T-SQL Programming Summarizing data using GROUP BY and HAVING clauses You can summarize data to get counts, averages, sums, and more using GROUP BY in T-SQL queries. Greg Larsen shows... 27 May 2022 11 min read
Learn SQL Server Greg Larsen in Learn SQL Server The ins and outs of joining tables in SQL Server Most database queries require joining tables. In this article, Greg Larsen explains the ins and outs of joining tables in... 21 April 2022 11 min read
Learn SQL Server Greg Larsen in Learn SQL Server Ordering a result set in SQL Server To guarantee the order of a result set, you must use an ORDER BY clause. In this article, Greg Larsen... 18 March 2022 12 min read
T-SQL Programming Greg Larsen in T-SQL Programming The basic T-SQL SELECT statement The SQL language is used across many relational database platforms. Greg Larsen explains the basics of the SELECT statement for... 22 February 2022 10 min read
Learn SQL Server Greg Larsen in Learn SQL Server When to use CHAR, VARCHAR, or VARCHAR(MAX) It’s important to choose the right datatypes when designing a database. Greg Larsen explains the differences between CHAR, VARCHAR and... 20 January 2022 14 min read
Learn SQL Server Greg Larsen in Learn SQL Server How to replace an identity column with a sequence number SQL Server provides two ways to include an incrementing number in a table. Greg Larsen explains how to replace an... 04 January 2022 16 min read
Learn SQL Server Greg Larsen in Learn SQL Server How to return multiple sequence numbers with sp_sequence_get_range Developers can work with multiple range values at once using sp_sequence_get_range. Greg Larsen explains how to return multiple sequence numbers... 30 November 2021 13 min read
Learn SQL Server Greg Larsen in Learn SQL Server Using SQL Server sequence objects SQL Server sequence objects have several properties that control how they behave. Greg Larson explains the options of using SQL... 15 November 2021 14 min read
Learn SQL Server Greg Larsen in Learn SQL Server Introduction to SQL Server sequence objects SQL Server sequence objects can be used in place of identity columns. In this article, Greg Larsen explains how to... 25 October 2021 15 min read
Learn SQL Server Greg Larsen in Learn SQL Server Working with SQL Server identity columns SQL Server identity columns are easy to add to a table, but you must understand how they work to use... 24 September 2021 12 min read
Learn SQL Server Joe Celko in Learn SQL Server A UNIQUE experience A properly designed table must have a key to uniquely identify each row. In this article, Joe Celko explains unique... 23 August 2021 14 min read
Learn SQL Server Greg Larsen in Learn SQL Server SQL Server identity column The SQL Server identity column is used to populate a column with incrementing numbers on insert. In this article, Greg... 23 August 2021 13 min read
Learn SQL Server Priyanka Chouhan in Learn SQL Server SQL Server High Availability and Disaster Recovery Plan Microsoft provides quite a few features for high availability and disaster recovery. In this article, Priya describes the HA/DR options.… 14 July 2021 26 min read