Re: [SQL] Case Statement

2002-08-28 Thread Stephan Szabo
On Wed, 28 Aug 2002, Tom Haddon wrote: > Hi Folks, > > I am having troubles with a case statement in that I want to have the query > select only those records that match a particular case. Here's my query: > > SELECT > agency_contact_info.id,organization,department,city,state,description_of_ser >

Re: [SQL] Case Statement

2002-07-31 Thread Otto Hirr
t; in any case. > > Thanks, Tom > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Stephan Szabo > Sent: Wednesday, July 31, 2002 4:17 PM > To: Tom Haddon > Cc: [EMAIL PROTECTED] > Subject: Re: [SQL] Case State

Re: [SQL] Case Statement

2002-07-31 Thread Stephan Szabo
On Wed, 31 Jul 2002, Tom Haddon wrote: > Hi Folks, > > Pretty basic one here. I'm trying to do a SELECT statement that includes a > CASE structure that will be used in the ORDER BY clause, and I want the CASE > structure to evaluate a bunch of criteria and in each case increment its > value by a