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

Teradata® Data Mover User Guide

Product
Teradata Data Mover
Release Number
17.10
Release Date
June 2021
Content Type
User Guide
Publication ID
B035-4101-061K
Language
English (United States)
An XML snippet for copying a SQL stored procedure with its underlying table is shown below:
<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>