I have a requirement as follows.
a=1,b=2,c=3,d=4,e=5....etc
String=Praveen(passing it as parameter in stored procedure)
i need to calculate each character alphbitacal number and sum of them
ex: 1+15+30+9+1+2=58
result is 5+8=13
i need it as a stored procedure in mysql and sql server?



Nitin SontakkePosted Jul 12, 2018, 8:35 AM
Nitin SontakkePosted Jul 17, 2018, 1:04 AM
Packiaraj SanthiyaguPosted Jul 12, 2018, 9:05 AM
Hi Sai
I work out and bring the result. It will work sure.
I create this SP in MSSQL server. So, run in MSSQL server
If you need any clarification, please comment immediately.
I command everything for your understanding.
Nitin SontakkePosted Jul 12, 2018, 8:51 AM
Sai ReddyPosted Jul 12, 2018, 8:42 AM
Sai ReddyPosted Jul 12, 2018, 8:21 AM
Sai ReddyPosted Jul 12, 2018, 8:07 AM
Sai ReddyPosted Jul 12, 2018, 7:44 AM
Nanddeep NachanPosted Jul 12, 2018, 7:37 AM
Nitin SontakkePosted Jul 12, 2018, 7:36 AM
Nanddeep NachanPosted Jul 12, 2018, 7:35 AM