Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Length function counts only trailing spaces in a string - response (1) by CarlosAL

$
0
0

Strange:
 

BTEQ -- Enter your SQL request or BTEQ command:
SELECT LENGTH(' VENKAT ') "Length";

*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.

Length
----------------------------------------
12

BTEQ -- Enter your SQL request or BTEQ command:
SELECT CHAR_LENGTH(' VENKAT ') "CharLength";

*** Query completed. One row found. One column returned.
*** Total elapsed time was 1 second.

CharLength
-----------
12
 
¿Maybe it's SQLAssistant through ODBC?
Cheers.
Carlos.


Viewing all articles
Browse latest Browse all 14773

Trending Articles



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