Copy a SQL Stored Procedure with Underlying Table | Example | Teradata Data Mover - Example: Job Request XML for Copying a SQL Stored Procedure with its Underlying Table - Teradata Data Mover

Teradata® Data Mover User Guide - 20.01

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Mover
Release Number
20.01
Published
November 2023
Language
English (United States)
Last Update
2023-12-05
dita:mapPath
hlv1700545853003.ditamap
dita:ditavalPath
mpm1591127278842.ditaval
dita:id
don1467241476387
Product Category
Analytical Ecosystem
An XML snippet for copying a SQL stored procedure with its underlying table is shown here:
<dmCreate>
...
<database selection="unselected">
	<name>database1</name>
	<table selection="included">
		<name>test</name>
		<validate_row_count>all</validate_row_count>
	</table>
</database>
<stored_procedures>
	<stored_procedure selection="included"> 
		<name>sp_test</name>  
		<database>database1</database> 
	</stored_procedure> 
</stored_procedures>
...
</dmCreate>