|
|
Archives of the TeradataForum
Message Posted: Fri, 02 Feb 2007 @ 13:59:47 GMT
Subj: | | Re: VARCHAR expansion in Spool |
|
From: | | Dieter Noeth |
Anomy.Anom wrote:
| A varchar(256) attribute is defined on a table. Per query requirement's this attribute is placed into spool. Lets assume that all the
values for this attribute are between 30 and 60 bytes in length. Does spool carry the various values at their actual length (approx 30 to 60
bytes)? Or does the spool carry the values at an expanded length of 256 bytes? | |
A Varchar remains a Varchar in spool.
But, for ORDER BY a Varchar is expanded to a Char...
Dieter
| |