Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Caculate how many bytes of string - response (1) by CarlosAL

$
0
0
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.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>