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 NN,NN,NN,NE,NN,NN,NE,CE,
Its some urgent requirement ,thanks in advance

Answer Posted / vinay singh

select * from PA_TASKS pp
where pp.TASK_NUMBER in
(select QQ.TASK_NUMBER from PA_TASKS QQ
where length(trim(translate
(QQ.TASK_NUMBER,'0123456789',' '))) > 0
)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are different types of keys in sql?

614


How do you delete duplicates in sql query using rowid?

549


What are analytical functions in sql?

560


Which is better stored procedure or query?

558


What is the use of procedures?

552






What are all types of user defined functions?

538


What is mdf ldf and ndf?

569


What is union?

660


Name the operator which is used in the query for pattern matching?

514


Enlist the advantages of sql.

583


what are the different type of normalization? : Sql dba

560


What are the two characteristics of a primary key?

497


Does user triggers have entry for trigger with compilation errors?

608


What is full join?

539


Can delete statement be rollbacked?

536