Have you observed the divergent behavior of the Teradata LIKE operator when applied to a CHAR or VARCHAR data type ...

Why Teradata’s LIKE operator behaves differently for CHAR and VARCHAR columns

Teradata SQL and Advanced GROUPING Functions What advanced GROUPING methods are there in Teradata SQL? – GROUP BY GROUPING SETS– ...

Advanced GROUPING Methods in Teradata SQL: GROUP BY GROUPING SETS, ROLLUP, and CUBE

Introduction Teradata SQL lacks a built-in function to determine the ASCII code of a character. But fear not, for there ...

How to Find ASCII Code of a Character Using Teradata SQL

Teradata internally stores the date as INTEGER. Calculate dates after January 1st, 1900 using this formula: ((year- 1900) * 10000) ...

Efficient Teradata Date Calculations Avoiding INTEGER Values

Teradata UNION ALL – The New Features of Release 16 Teradata 16 introduces new features for UNION ALL queries that ...

Teradata 16 Introduces New Features for UNION ALL Queries

TO_NUMBER I have often needed a function to verify whether a character column contains a numeric value. Typically, I have ...

Teradata Built-In Functions: TO_NUMBER, TRUNC, CEILING, FLOOR, LEAST, GREATEST, ROUND

Teradata administrators worldwide face similar challenges. I propose creating a worldwide database containing the characteristics of Teradata systems. This will ...

Global Teradata System Characteristics Database: Help Us Build It!

 Introduction to Teradata Recursions To link records from a primary table with a specific date range from a secondary table, ...

An Introduction to Teradata Recursions: Generating Date Ranges Without a Physical Table

Roland Wenzlofsky’s recent blog introduced the CHAR2HEXINT function, which extracts coding table numbers for tokens. These functions proved invaluable in ...

Extracting Numeric Tokens from Strings with CHAR2HEXINT Function in Teradata SQL

Teradata Tuning with Query Rewriting This article explores how to enhance the efficiency of SQL statements through rewriting techniques. This ...

Improving Teradata Performance with SQL Query Rewriting