Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Performance question
When a VARCHAR2 type column is defined, how does the LENGTH function get the
length of the varchar contained in the column? Does it count up the number
of bytes to some end of string marker, or is there an internally held and
maintained attribute of varchar which maintains the size?
Reason why I am asking, there might be a performance hit to use LENGTH if it has to calculate it every time.
Any help would be appreciated
oracle at levinsong dot com Received on Tue May 28 2002 - 18:23:15 CDT