Example: Using BTEQ to Run Queued Actions - Teradata VantageCloud Lake

Lake - Working with SQL

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
jbe1714339405530.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
jbe1714339405530

Using BTEQ, run 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);

Output:

*** 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