TOP Clause | SQL SELECT Statements | Teradata Vantage - TOP Clause - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
vjt1596846980081.ditamap
dita:ditavalPath
vjt1596846980081.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantageā„¢

Specifies that either an explicit number of rows or an explicit percentage of rows is to be returned from the query result set.

ANSI Compliance

TOP n is a Teradata extension to the ANSI SQL:2011 standard.

Other SQL dialects use similar operators with names such as:
  • FIRST n
  • LIMIT n
  • SET ROWCOUNT n
  • STOP AFTER n