ALTER METHOD Examples | Teradata Vantage - 17.00 - ALTER METHOD Examples - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Release Date
September 2020
Content Type
Programming Reference
Publication ID
B035-1144-170K
Language
English (United States)

Example: Changing the Protection Mode

The following ALTER METHOD request changes the protection mode for the method named polygon_mbr() from protected to not protected:

    ALTER METHOD polygon_mbr() FOR SYSUDTLIB.polygon
    EXECUTE NOT PROTECTED;

Example: Recompiling a Method Object

The following ALTER METHOD request recompiles the specific method object named SYSUDTLIB.polygon_mbr:

    ALTER SPECIFIC METHOD SYSUDTLIB.polygon_mbr COMPILE;