try, in your WHERE clause,

WHERE
        categoryname LIKE 'A%'

christopher olive, cio
cresco technologies, inc
http://www.crescotech.com


-----Original Message-----
From: Angel Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 12:37 PM
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