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 / nitin vartak
select enam ,eempno , (len(phoneno) - len(replace
(phoneno,',',''))) + 1 from TableName
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
what is the difference between myisam static and myisam dynamic? : Sql dba
How do sql databases work?
How do I find duplicates in two columns?
When are we going to use truncate and delete?
what is a database transaction? : Sql dba
Is grant a ddl statement?
Mention what are the benefits of pl/sql packages?
What is meant by temporal data?
Can triggers stop a dml statement from executing on a table?
Can we group by two columns in sql?
Why do we use sql constraints?
what is sub-query? : Transact sql
Is stored procedure faster than query?
Define tables and fields in a database
What is sql character function?