select * from articles where year = the_year_you_want
or sleect * from articles
order by year
mak wl
----- Original Message -----
From: "nyon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 6:33 PM
Subject: Re: Sort by year
>
> Hi,
>
> I have a few hundred articles collected over a few years.
> What is the proc. to list out articles from database based on year ie;
> 1. Show all 1995 articles
> 2. Show all 1996 articles
> 3. Show all 1997 articles
>
>
> My database has a year column in the table.
>
> Thanks
> Nyon
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.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