16.20 - Example: Using BTEQ to Execute Queued Actions - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Administration
Programming Reference
Publication ID
B035-1210-162K
Language
English (United States)

Using BTEQ, execute any queued actions from a prior outstanding call to ManageMoveTablesSP.

BTEQ -- Enter your SQL request or BTEQ command:
.SET SESSIONS 3
.LOGON machine/user,passwd
.REPEAT 3
CALL TDMaps.MoveTablesSP('P',NULL,NULL,NULL,NULL);
*** Ok, Session 32015, Request 3, Statement# 1
 *** Procedure has been executed.
*** Ok, Session 32016, Request 3, Statement# 1
 *** Procedure has been executed.
*** Ok, Session 32017, Request 3, Statement# 1
 *** Procedure has been executed.
*** Total number of statements: 3,  Accepted: 3,  Rejected: 0
*** Total elapsed time was 3 hours.
*** Total requests sent to the DBC = 3
*** Successful requests per hour =  1.000