Teradata Identity Columns and CREATE TABLE AS Facing hurdles with the Teradata Identity columns and Volatile Tables? Buckle up because ...

Outsmarting Teradata Limitations: A Workaround for Teradata Identity Columns in Volatile Tables

The Teradata flavor of SQL is still, in principle, a declarative language. Hence, there can be multiple ways to describe ...

Improving SQL Performance with Simple Query Rewrites: Dealing with Duplicates and Business Calendars

Introduction Applying column joins in Teradata using functions may indicate a flawed data model, potentially violating the first normal form. ...

Negative Impact of Applying Functions to Join Columns in Teradata Joins: Performance Implications and Solutions

What is the Teradata TD_WhichMax Function? Teradata releases new SQL features with each update, providing enhanced functionality and improved performance ...

Teradata TD_WhichMax and TD_WhichMin Functions: A SQL Solution for Finding Min/Max Value of a Column with Low Resource Consumption

In a previous article, Roland explained how to use recursion to build a data range without touching a physical table. ...

Dates ranges and business calendars beyond recursion and Teradata SYS_CALENDAR

Have you encountered a poorly designed physical data model where object columns are distributed randomly across tables, and you wish ...

Teradata – Merging two change history tables

In this article, we will delve into the world of Teradata set operators, exploring their functionality, applications for attaining peak ...

Teradata Set Operators: Understanding UNION vs. UNION ALL for Peak Performance Optimization

It’s time to share a new Teradata SQL tuning case study that showcases the impressive impact of query rewriting on ...

Teradata SQL Tuning: How Query Rewriting Can Reduce Runtime from 40 Minutes to Seconds

Determining the overlap of two time periods with historically managed tables often requires multiple comparisons. The Teradata OVERLAPS command improves ...

Detecting Overlapping Time Periods with Teradata OVERLAPS Command: A Simple Syntax Guide

Method 1, avoiding any helper tables or functions which are only available in new releases of Teradata: WITH RECURSIVE NumberRanges(TheNumber,TheString) ...

Two Methods for Generating Number Ranges in Teradata