Just say

"SELECT len(LastName) AS lastNameLen FROM Member WHERE Len(LastName) < 5"





Douglas Brown
Email: [EMAIL PROTECTED]
----- Original Message -----
From: "BEN MORRIS" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 17, 2002 8:47 AM
Subject: Len() Equivalent in MS SQL 2K?


> I am using MS SQL Server 2K.
>
> Wondering if there is an equivalent to the CF Len() function to get string
length that I can use in a WHERE clause:
>
> "SELECT LastName FROM Member WHERE Len(LastName) < 5"
>
> ---------------------------------------
>
>   Ben Morris
>
>   Web Site Developer
>   American Federation of Government Employees, AFL-CIO
>   (202) 639-6448
>   www.afge.org
>
>
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to