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
How many rows can sqlite handle?
What packages(if any) has oracle provided for use by developers?
Why do we use %rowtype & %type in plsql?
How does a self join work?
how to convert character strings to dates? : Sql dba
how mysql optimizes distinct? : Sql dba
What is percent sign in sql?
What is sql*loader and what is it used for? : aql loader
how to include numeric values in sql statements? : Sql dba
What is varchar sql?
What is a sql profiler?
What is vector point function?
what is auto increment? : Sql dba
What is cursor and its types?
how to get a list of columns in an existing table? : Sql dba