how to select alphabets in a one column , for this the
table name is PA_TASKS and column name is TASK_NUMBER, In
TASK_NUMBER the data like this
1.1.3NN,1.1.4NN,1.5.1NN,1.3.2NE,1.5NN,1NN,1.2NE,1CE , For
this i need to disply output as only NN,but not other
alphabets, if NN is thre means i should display , otherwise
leave that blank or empty Its some urgent
requirement ,thanks in advance
Answer Posted / reddibasha
SELECT CASE WHEN instr(TASK_NUMBER,'NN')>0 THEN 'NN' ELSE
null END FROM PA_TASKS;
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Why is oracle used?
How do I use os authentication with weblogic jdriver for oracle and connection pools?
From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.
What is a nvl function?
How to connect to the server with user account: sys?
What are the differences between date and timestamp in oracle?
How to write numeric literals in oracle?
Explain what are clusters?
What suggestions do you have to reduce the network traffic?
Define oracle database
Is there any function in oracle similar like group_concat of mysql?
What is the Tune Query
What do you understand by database schema and what does it hold?
What is the difference between Delete, Truncate and Drop in Oracle?
Explain cascading triggers.