i want count no of values in a column i.e
enam eempno phoneno
x 1 (98765,09887,096561,87964579,156678,678900876)
that means if i select phone no from table i want to get
total count of phone numbers i.e 6
Answer Posted / ajit
select name,length(replace(phno, ','))
from phno;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is lookup table in sql?
how many ways to get the current time? : Sql dba
What is a unique key?
How do I turn a list into a table?
How to get unique records from a table?
What are the different types of triggers?
Does inner join remove duplicates?
How do you determine the current isolation level? : Transact sql
what are the different functions in sorting an array? : Sql dba
Explain how exception handling is done in advance pl/sql?
Does sql view stored data?
what is the difference between primary key and unique key? : Sql dba
What are the uses of sysdate and user keywords?
How can one get sql*loader to commit only at the end of the load file? : aql loader
Write an sql query to select all records from the table?