Ricky:
1. OCTET_LENGTH():
BTEQ -- Enter your SQL request or BTEQ command:
SELECT OCTET_LENGTH('En un lugar de La Mancha...') LENGTH_DEFAULT,
OCTET_LENGTH('En un lugar de La Mancha...', ASCII) LENGTH_ASCII,
OCTET_LENGTH('En un lugar de La Mancha...', UTF8) LENGTH_UTF8,
OCTET_LENGTH('En un lugar de La Mancha...', UTF16) LENGTH_UTF16;
*** Query completed. One row found. 4 columns returned.
*** Total elapsed time was 1 second.
LENGTH_DEFAULT LENGTH_ASCII LENGTH_UTF8 LENGTH_UTF16
-------------- ------------ ----------- ------------
27 27 27 54
2. Collations (sequences) control character ordering and comparison operations during Teradata Database sessions.
HTH.
Cheers.
Carlos.
↧