Query for counting alphabet in word [message #10684] |
Mon, 09 February 2004 23:53 |
ruchi
Messages: 8 Registered: October 2002
|
Junior Member |
|
|
hello
Please guide me
1>>>
I need a sql query that count each occurrance of alphabet in a word.
eg
certification
occurrance of 'c' is 2 in above word
2>>
A column in a table contain data in following format
firstname,lastname.
eg- john,mathew
how to write a query that will return the output as below for all rows in table.
lastname,firstname
eg- mathew,john
thanks
ruchi
|
|
|
|
|
|