15.10 - IF - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Keyword introducing a conditional expression to qualify SQL control statements.

You can also use these variations of IF with the following additional clauses:

  • IF-THEN-END IF
  • IF-THEN-ELSE-END IF
  • IF-THEN-ELSEIF-END IF
  • IF-THEN-ELSEIF-ELSE-END IF