<CFQUERY NAME="Yours" DATASOURCE="Yours"> SELECT DISTINCT Left(FieldName,1) as Ltr FROM YourTable </CFQUERY> > I am assuming that I can use a function such as Left() in SQL? Is there > anything like that? > How would I do something like this otherwise? > > -Gel > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
- Selecting All Categories that start with A.. Angel Stewart
- RE: Selecting All Categories that start with A.. C. Hatton Humphrey
- RE: Selecting All Categories that start with A.. Duane Boudreau
- RE: Selecting All Categories that start with A.. Russel Madere
- RE: Selecting All Categories that start with A.. Craig Fisher
- Re: Selecting All Categories that start with A.. Koo Pai Lao
- RE: Selecting All Categories that start with A.. Christopher Olive
- Code Snippet RE: Selecting All Categories that sta... Joseph Thompson
- Code Snippet RE: Selecting All Categories that... Angel Stewart
- RE: Selecting All Categories that start with A.. Adkins, Randy
- RE: Selecting All Categories that start with A.. Mark Stewart
- RE: Selecting All Categories that start with A.. Paul Sizemore