How can count the string ?
for ex: If i have string like 'bhaskar' then i need like
b:1
h:1
a:2
s:1
k:1
r:1

please give any idea on that


Answer Posted / debasish

the good away to count is convert it to a arry and the
count the array element.. you can do as you like with array.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to invoke a trigger on demand? : Sql server database administration

552


What is difference between join and natural join?

467


What is the purpose of self join?

487


What is dirty page?

557


What is the command to change the recovery model?

554






What is a data source file?

483


How to add the custom code in Report?

95


What extended events?

527


what's the difference between delete table and truncate table commands? : Sql server database administration

472


How do I find information about the install locations for the various instances running on a computer?

545


What is sqlcmd?

541


What is the xml datatype?

615


If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?

653


How can sql server instances be hidden? : sql server security

587


What is 3nf normalization?

552