Sql Select Len
- From: "Jeff" <jhoward@xxxxxxxxxxxx>
- Date: Wed, 4 Jun 2008 16:50:07 -0600
Is there a way to select the lengths of text fields using a query and
quickly find the max length?
I currently have SELECT LEN(C1) AS MYLENGTH FROM TABLE1.
The information of all rows is in my result set but without running through
the results I cannot quickly find my largest length. I tried using an order
by clause for C1 but it sorts the data alpanumerically so I cannot simply
go to the last record to pull the largest value!
Thoughts?
.
- Follow-Ups:
- Re: Sql Select Len
- From: Brian Bushay TeamB
- Re: Sql Select Len
- Prev by Date: Re: How to monitor sqls executed in ado connections ?
- Next by Date: opening a dataset with a missing parameter
- Previous by thread: How to monitor sqls executed in ado connections ?
- Next by thread: Re: Sql Select Len
- Index(es):
Relevant Pages
|