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

Is there a function to split a string in plsql?

574


What is the difference between sharding and replication?

491


How to do a full database export?

646


What is save point in oracle database?

735


Define the SGA and: How you would configure SGA for a mid-sized OLTP environment? What is involved in tuning the SGA?

1864






HI, Please let me know the syllabus for Oracle OCA and OCP Certification

1959


What are the differences between char and nchar in oracle?

606


Will you be able to store pictures in the database?

646


What is the difference between 10g OEM and 11g OEM?

567


How to invoke the original export import utilities?

512


How to set up autotrace for a user account?

602


How to find out what oracle odbc drivers are installed?

584


What are ddl statements in oracle?

598


What is SQL access advisor in Oracle?

638


What is meant by a deadlock situation?

584