Teradata Database offers the following ways to invoke an executable statement:
- Interactively from a terminal
- Embedded within an application program
- Dynamically created within an embedded application
- Embedded within a stored procedure or external stored procedure
- Dynamically created within an SQL stored procedure
- Via a trigger
- Embedded within a macro