Re-write UDFs, UDTs, Stored Procedures and External Stored Procedures - Teradata Database

Teradata Database Node Software Migration Guide

Product
Teradata Database
Release Number
15.10
Published
November 2017
Language
English (United States)
Last Update
2018-04-25
dita:mapPath
heq1467819788761.ditamap
dita:ditavalPath
5942_Migrating_1510.ditaval.ditaval
dita:id
B035-5942
lifecycle
previous
Product Category
Software

User-Defined Functions (UDFs), User-Defined Types (UDTs), Stored Procedures and External Stored Procedures may execute code that is platform-dependent. Such objects may not recompile or execute correctly when migrated to another platform. UDTs provided by Teradata are platform-independent.

During the Restore operation, UDFs, UDTs, Stored Procedures and External Stored Procedures are recompiled automatically. The Restore operation will complete even if there are compilation failures. However, depending on the failed objects some programs, objects and possibly entire databases may be unusable until the failed objects can be recompiled successfully. If the migration involves different platform types, such as Windows to Linux, Teradata recommends that the customer prepare for the migration by copying a representative sample of the UDTs, UDFs and Stored Procedures to the new platform and recompiling them prior to the actual migration so that any problems during the migration can be easily resolved.