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
>
>
>
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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