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

In SQl Sever the query would be:

select substring (reverse(task_number),1, 2) from task

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are tables in sql?

550


What are all the different normalizations?

591


Explian rowid, rownum? What are the psoducolumns we have?

574


How to avoid duplicate records in a query?

579


Why we use joins in sql?

544






Can a foreign key be a duplicate?

510


What are the different set operators available in sql?

565


How can we debug in PL/SQL?

663


What do you mean by rowid?

538


Is it possible to Restore a Dropped Table using Rollback Command in Oracle SQL Plus ?

722


How to use sql*plus built-in timers?

578


What do you mean by table in sql?

526


Does truncate require commit?

546


How many commands are in sql?

527


table structure: ---------------- col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10 01-mar-2012 11:12:46 01-mar-2012 11:11:23 Write a query to display the result as shown below: col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

3348