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 / ajit

SELECT * FROM SAMP;
A
--------
1.1.3NN
1.1.4NN
1.5.1NN
1.3.2NE

SELECT *
FROM SAMP
WHERE A LIKE '%NN';

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is connection pooling in oracle?

552


How to use fetch statement in a loop?

551


In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col

3698


What is a cursor in oracle?

644


What is a sub query? Describe its types?

540






How can I combine multiple rows into a comma-delimited list in oracle?

577


How do we display rows from the table without duplicates?

545


What is meant by recursive hints in oracle?

616


How to use values from other tables in update statements using oracle?

564


Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

1670


What is a cognitive schema?

525


Explain the use of rows option in imp command.

604


Differentiate between post-database commit and post-form commit?

541


how to make an oracle object

1854


How to use group functions in the select clause using oracle?

591