ECHO Statement | SQL Statements | Teradata Vantage - ECHO - Analytics Database - Teradata Vantage

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-05
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
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.