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

Basic Teradata® Query Reference

Product
Basic Teradata Query
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2022-02-03
dita:mapPath
nnw1608578382132.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2414
lifecycle
previous
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.