Commonly used String Commands in SQL Server:
select charindex('@','su@nny@',4)
select charindex('@',emailid) from customer
select patindex('%b%',name) from customer
select patindex('@',emailid) from customer
select concat('sunny','pandita')
select concat(emailid,name) from customer
select left('sunny')
select left(emailid,3) from customer
select right('sunny')
select right(emailid,4) from customer
select upper('dsfsadfasdfasdfasdfasdf')
select upper(name) from customer
slect lower('dsfsdWWWRR')
select lower(name) from customer
select len('fsdfsdfsdf')
select len(name) from customer
select ltrim(' sdfsdfsd')
slect ltrim(name) from customer
select Rtrim('sdfsdfsd ')
slect Rtrim(name) from customer
select trim(' sdfsdfsd ')
slect trim(name) from customer
select replace('sunny','n','###'
select replace(emailid,'@','#') from customer
select replicate('sunny',2)
select replicate(name,2) from customer
select reverse(dept) from customer
select reverse('sunny')
select 'sunny'+space(10)+'pandita'
select space(name) from customer
select stuff(emailid,2,3,'pandita') from customer
select stuff('sunny',2,3,'pandita')
select substring(name,1,2) from customer
select substring('sunny',1,2)
En esta página del sitio puede ver el video en línea SQL Server String Functions. Session 12 de Duración hora minuto segunda en buena calidad , que subió el usuario Sunny@Pandita 04 marzo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 461 veces y le gustó 25 a los espectadores. Disfruta viendo!