Copy a SQL Stored Procedure XML | Example | Teradata Data Mover - 17.10 - Example: Job Request XML for Copying a SQL Stored Procedure - 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 is shown below:

<dmCreate> 
...
<database selection="unselected">
 <name>database1</name>
 <table selection="included">
  <name>test</name>
 </table>
</database>

<stored_procedures>
 <stored_procedure selection="included">
  <name>macro1</name>  
  <database>database1</database>
 </stored_procedure> 
</stored_procedures>
...
</dmCreate>