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

by using sub_str fuction we can do this

select sub_str(task_number,6) from pa_tasks.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sqlca in db2?

695


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

865


what is the difference between a local and a global temporary table? : Sql dba

741


What are literals in sql server?

738


How many tables can a sql database have?

710






What is snowflake sql?

800


how many sql dml commands are supported by 'mysql'? : Sql dba

790


what are set operators in sql? : Sql dba

726


What does desc stand for?

788


Is sql difficult?

924


what is the use of set statement in tsql? : Transact sql

740


Which is better stored procedure or query?

721


What are the different types of triggers?

777


How do I view tables in mysql?

720


How do I tune a sql query?

725