I'm confused - I thought he was using SQL 2K?? -----Original Message----- From: Tony Schreiber [mailto:[EMAIL PROTECTED]] Sent: 17 July 2002 16:59 To: CF-Talk Subject: RE: Len() Equivalent in MS SQL 2K?
It works in Access. In Oracle, the equivalent function is LENGTH(). WHERE LENGTH(imagefile) > 0 > does Len() not work in SQL 2K? > > -----Original Message----- > From: BEN MORRIS [mailto:[EMAIL PROTECTED]] > Sent: 17 July 2002 16:47 > To: CF-Talk > 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 > > > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

