ECHO Statement | SQL Statements | VantageCloud Lake - ECHO - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
This statement is only supported on the Block File System on the primary cluster. It is not available for the Object File System.

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

The system sends an ECHO parcel containing string to the client system to be 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.