Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Antwort: komplex sql
maybe something like this:
SELECT DECODE(mxurval_namn,'No Info','No Info','Missing Info','Missing Info',ltrim(substr(mxurval_namn,instr(mxurval_namn,' ')))) FROM mxurval;
I dint try it
Ivo
Roland.Skoldb lom_at_ica.se An: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Gesendet von: Kopie: root_at_fatcity. Thema: komplex sql com 11/14/2001 11:50 AM Bitte antworten an ORACLE-L
Hallo,
How can I do a select statement that creates this:
I have the field1
Jimmy Y1000
Timmy L33333
No Info
Missing Info
and I want the select to give me this:
Jimmy
Timmy
No Info
Missing Info
You see It should still be 'No info' and 'Missing 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-LReceived on Wed Nov 14 2001 - 05:31:20 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Ivo.Libal_at_knapp-systems.com 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).
![]() |
![]() |