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

Home -> Community -> Mailing Lists -> Oracle-L -> sql-important

sql-important

From: <Roland.Skoldblom_at_ica.se>
Date: Wed, 14 Nov 2001 02:14:49 -0800
Message-ID: <F001.003C43BC.20011114020029@fatcity.com>

Hallo,

How can I do a select statement that creates this:

I have the field1

Jimmy Y1000
Timmy L33333
No Info

and I want the select to give me this:

Jimmy
Timmy
No Info

You see It should still be 'No info' after the select statement.

How can I change this statement?

SELECT ltrim(substr(mxurval_namn,instr(mxurval_namn,' '))) FROM mxurval;

Thanks in advance

Roland S

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Roland.Skoldblom_at_ica.se

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Nov 14 2001 - 04:14:49 CST

Original text of this message

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