ECHO Statement | SQL Statements | Teradata Vantage - ECHO - 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ā„¢

Returns a fixed character string to the requestor.

ANSI Compliance

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

Required Privileges

None.

ECHO Not Supported for Embedded SQL

The Teradata preprocessor does not support ECHO.

ECHO Not Supported for SQL Procedures

SQL procedures do not support ECHO.

How ECHO Works

When the system encounters an ECHO request, it sends an ECHO parcel containing string to the client system, where it is then interpreted.

ECHO and BTEQ

ECHO is used most frequently in macros to perform BTEQ commands during macro execution.

ECHO cannot be used with the following BTEQ commands.
  • =
  • EXPORT
  • IMPORT
  • LOGOFF
  • LOGON
  • QUIT
  • REPEAT
  • RUN

If command is not a BTEQ format command, BTEQ logs the illegal command as an error.