Querying Teradata using SQL

This series collects commonly used SQL queries to retrieve data from Teradata database. It also shows you how to do some basic filters and transformation using SQL statements. 

Querying Teradata using SQL

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 18
thumb_up 0
access_time 21 days ago

XML data type is commonly supported in Teradata. Together with native XML type, a number of XML functions are added to support extracting values from XML, shredding and publishing JSON, etc.  info The following code snippets use string ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 16
thumb_up 0
access_time 22 days ago

JSON data type is supported in Teradata from version 15.10. Together with native JSON type, a number of JSON functions are added to support extracting values from JSON, shredding JSON, etc.  info The following code snippets use string l...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 28
thumb_up 0
access_time 26 days ago

As other databases, Teradata provides many aggregation functions that can be used to retrieve SUM, COUNT, MAX, MIN and AVG values. These functions returns a single value per group. To retrieve the whole first row from each 'GROUP BY' group, windowing functions can be used.  Create sam...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 388
thumb_up 0
access_time 7 months ago

In Teradata, Common Table Expression (CTE) is supported as other databases. You can create recursive CTE or use a reference of a CTE to another CTE. However there is a slight differences compared with other databases - The referenced CTE must be present after the referencing CTE. For exampl...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 308
thumb_up 0
access_time 11 months ago

In different databases, the syntax of selecting top N records are slightly different. They may also differ from ISO standards.

local_offer teradata local_offer teradata-sql-query

visibility 4711
thumb_up 0
access_time 3 years ago

This page summarize some of the commonly used views in Teradata. Conventions In all the views in the following sections, X views are also available though they only return rows that contain information on objects that the requesting database user owns, created, granted privilige on,...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 3073
thumb_up 0
access_time 3 years ago

For many SQL Server or Oracle developers, you may encounter some inconveniences when writing SQL queries. For example, how to select from dummy table or local defined variables. This page summarize the equivalents in Teradata SQL.

local_offer teradata local_offer t-sql local_offer mssql local_offer SQL local_offer SQL Server local_offer teradata-sql-query

visibility 4240
thumb_up 0
access_time 6 years ago

Tutorial –1 For Teradata developers, if you have no SQL Server installed, please go to the following link to download the SQL Server 2014 Expression Edition. ...

local_offer SQL local_offer SQL Server local_offer t-sql local_offer teradata local_offer teradata-sql-query

visibility 41907
thumb_up 0
access_time 6 years ago

SELECT is one of the most commonly used statements. In this tutorial, I will cover the following items: Two of the principal query clauses—FROM and SELECT Data Types Built-in functions CASE expressions and variations like ISNULL and COALESCE. * The functio...

Read more

Find more tags on tag cloud.

launch Tag cloud