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 136
thumb_up 0
access_time 3 months 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 literal to demonstrate the usage of these functions; you ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 119
thumb_up 0
access_time 3 months 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 literal to demonstrate the usage of these functions; you ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 377
thumb_up 0
access_time 3 months 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.  The following code ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 600
thumb_up 0
access_time 9 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 example, CTE ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 455
thumb_up 0
access_time 2 years 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 5106
thumb_up 0
access_time 3 years ago

This page summarize some of the commonly used views in Teradata. 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, granted access through the ...

local_offer teradata local_offer SQL local_offer teradata-sql-query

visibility 3263
thumb_up 0
access_time 4 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 4355
thumb_up 0
access_time 6 years ago

For Teradata developers, if you have no SQL Server installed, please go to the following link to download the SQL Server 2014 Expression Edition. http://www.microsoft.com/en-us/server-cloud/Products/sql-server-editions/sql-server-express.aspx It is easy to get started and free to use.

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

visibility 42899
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 function names mentioned above are ...

Read more

Find more tags on tag cloud.

launch Tag cloud