does SQLServer have the aggregate fuction max()?
if so.. this will work.
select max(len(mycol)) as maxlen from my_table

this returns the longest value in that column

On 4/27/05, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> i agree. while i got ya replying to my emails, what would be the easiest way
> to find the longest length of characters within this field and then convert
> the 'text' column to a 'varchar' column with a predetermined max length?
> 
> -----Original Message-----
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 27, 2005 10:42 AM
> To: CF-Talk
> Subject: RE: ListGetAt in a SQL Select Statement... is this possible?
> 
> Even so, it is not likely to be over 2 Billion Characters in length is it?
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204695
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to