In TSQL (The MS version of SQL) there is the command LEFT().  you could also
do:

SELECT .....
WHERE FieldName LIKE 'A%' ....

Russel

> -----Original Message-----
> From: Angel Stewart [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 11:37 AM
> To: CF-Talk
> Subject: Selecting All Categories that start with A..
>
>
> Hey all,
>
> I got a database that has like 120 categories.
>
> The client wants A-Z along the top, and when A is clicked, only those
> categories that start with A will show.
>
> SO I'm trying to use SQL in the query, with a URL variable called Letter
> passed when the user clicks the letter nav bar.
>
> 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
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to