Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Query problem

Query problem

From: Alesk <alesk_at_enter-net.com>
Date: 2000/05/31
Message-ID: <wYbZ4.386$WL3.90794@carnaval.risq.qc.ca>#1/1

Hi!

I want to generate a list of names. The condition is the first letter of the last name.

My query looks like this:

Select userid,lname,fname, telno, substring(lname,1,1) AS FLetter from <TABLE>
where Fletter = '<Letter'>.

It doesn't work, saying I have a syntax error near my 'where clause'.

Can anyone help me?

Alesk Received on Wed May 31 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US