Wrox Home  
Search P2P Archive for: Go

  Return to Index  

sql_language thread: Finding maximum length of a cell in 'tex't column


Message #1 by "Haslett, Andrew" <andrew.haslett@i...> on Tue, 5 Nov 2002 12:03:54 +1030
Bloody hell.  You're spot on!

Thanks Phil.

-----Original Message-----
From: pgtips@m... [mailto:pgtips@m...]
Sent: Tuesday, 5 November 2002 7:14 PM
To: sql language
Subject: [sql_language] Re: Finding maximum length of a cell in 'tex't
column


Hi Andrew,

its DATALENGTH(fieldname) you want.

rgds
Phil
>----------------------------------------------
> Hi guys.

Does anyone know of a way to find the maximum size of entry into a 'text'
column?

Len() only seems to work on 'normal' data types.

Cheers,
Andrew

IMPORTANT - PLEASE READ ******************** 
This email and any files transmitted with it are confidential and may 
contain information protected by law from disclosure. 
If you have received this message in error, please notify the sender 
immediately and delete this email from your system. 
No warranty is given that this email or files, if attached to this 
email, are free from computer viruses or other defects. They 
are provided on the basis the user assumes all responsibility for 
loss, damage or consequence resulting directly or indirectly from 
their use, whether caused by the negligence of the sender or not.
  



  Return to Index