I want to remove the lowercase letters from a varchar in a select. Is it possible to do it without having to implement a function?
Eg:
declare @s varchar(max) = 'ThisIsADifferentTest'
select /*<some opperation with the varchar>*/@s
I want to obtain 'TIADT'
HINT: it would do if we could perform a boolean intersection between varchars:
select intersection(@s,UPPER(@s))