|
|
Archives of the TeradataForum
Message Posted: Tue, 27 Jul 2004 @ 16:42:49 GMT
Subj: | | Re: String length function |
|
From: | | Victor Sokovin |
| Just so you know, LENGTH is *not* a Teradata function. If you run these queries form BTEQ, you'll get a syntax error. It's actually an
ODBC function which is mapped by the driver to CHARACTER_LENGTH. Run a 'select length(user);' from Queryman and look at the column
heading. | |
My Queryman and the ODBC driver return
Characters(User)
7
That would rather suggest that they convert LENGTH to CHARACTERS. I must admit I did not experience any problems with the conversion so
far and I am quite used to LENGTH.
You are right about the BTEQ syntax, though.
Regards,
Victor
| |