Re: Select for Scratches

2002-09-20 Thread Lars Bebensee
ld also improve the scratch query by changing > > upper(status) like 'SCRATCH%' > > to > > status='Scratch' > > I hope this helps. > > Bill > > > -Original Message----- > From: Lars Bebensee [mailto:[EMAIL

Re: Select for Scratches

2002-09-19 Thread Seay, Paul
lto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:35 AM To: [EMAIL PROTECTED] Subject: Select for Scratches Hi folks, I am not that good with select queries yes, so I will have to ask one of the SQL gurus here: we wanted to show how many scratch tapes each library has with a query like this

Re: Select for Scratches

2002-09-19 Thread Seay, Paul
:35 AM To: [EMAIL PROTECTED] Subject: Select for Scratches Hi folks, I am not that good with select queries yes, so I will have to ask one of the SQL gurus here: we wanted to show how many scratch tapes each library has with a query like this: "select a.library_name,count(*) as volumes, b.de

Re: Select for Scratches

2002-09-19 Thread Slaughter, Bill
upper(status) like 'SCRATCH%' to status='Scratch' I hope this helps. Bill -Original Message- From: Lars Bebensee [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 5:35 AM To: [EMAIL PROTECTED] Subject: Select for Scrat

Select for Scratches

2002-09-19 Thread Lars Bebensee
Hi folks, I am not that good with select queries yes, so I will have to ask one of the SQL gurus here: we wanted to show how many scratch tapes each library has with a query like this: "select a.library_name,count(*) as volumes, b.devtype from libvolumes as a, devclasses as b where upper(status)