The len function is in sql2K SELECT LEN(CompanyName) AS 'Length', CompanyName FROM Customers WHERE Country = 'Finland'
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 > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

