Monday, January 19, 2015

Count Character form string sql server

Declare @string varchar(1000)
Set @string = 'x,r,t.h'
select len(@string) - len(replace(@string, ',', ''))


No comments:

Post a Comment

Complete Authentication System in ASP.NET Core using JWT

JWT (JSON Web Token) authentication is widely used for securing APIs in modern applications. In this article, we will build a complete authe...