Default case specificity for character string comparisons depends on the mode defined for the current session.
IF the session is in this mode … | THEN the values default to this declaration for string comparisons … |
---|---|
ANSI | CASESPECIFIC |
Teradata | NOT CASESPECIFIC |
You can add the explicit attribute NOT CASESPECIFIC to the definition of a CHARACTER or VARCHAR field in the USING phrase to override the default.
The purpose of the NOT CASESPECIFIC attribute is to ease the transition to an ANSI session mode of operation. You should instead use the ANSI SQL:2011-compliant UPPER function to perform case blind comparisons.