MoveTablesSP | SQL Operators & User-Defined Functions | Teradata Vantage - MoveTablesSP - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
xwv1596137968859.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

MoveTablesSP executes a worker session that consumes and executes actions from table ActionQueueTbl, which was populated by a prior call to ManageMoveTablesSP. You can make multiple concurrent calls to MoveTableSP, where the workers fetch and perform actions in parallel from the shared queue.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Syntax

CALL [TDMaps.] MoveTablesSP (
  'ActionList',
  'DatabaseName',
  'TableName',
  'TargetMapName',
  'ColocationName'
) [;]

Syntax Elements

TDMaps.
The name of the database.
ActionList
The options are 'P' for the ParallelTableActionList, or 'S' for the SerialTableActionList.
DatabaseName
The database in which the object is defined.
TableName
Name of table, join index, or hash index defined in DatabaseName.
TargetMapName
Name of the map where the object is moved.
ColocationName
The colocation name string for the table.