BTEQ Sessions | Basic Teradata Query - BTEQ Sessions - Basic Teradata Query

Basic Teradata® Query Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Basic Teradata Query
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
gxl1691484661681.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
psp1479308573013
Product Category
Teradata Tools and Utilities

There are two types of sessions associated with BTEQ use. The first is a BTEQ session. The second is a database user session. Each invocation of the BTEQ utility creates one BTEQ session. That BTEQ session can then be used to issue logon-related commands for requesting creation of a group of one or more database user sessions. Each group is associated with the same database user identity.

BTEQ sessions provide the following core functionality:
  • Establish one or more database user sessions to submit single- and multi-statement SQL requests using either Teradata Mode or ANSI standard transaction semantics.
  • Use SQL statements to view, add, modify, and delete data.
  • Use formatting commands to produce Field Mode based columnar reports.
  • Specify operating system commands.
  • Create database objects, such as user-defined functions and stored procedures, that require transfer of source files.