Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

Utilizzo sulla funzione Patindex()

select T.Value
from (values
        (charindex('MD', 'FHoisegh MD')),
        (charindex('DO', 'FHoisegh MD'))
     ) as T(Value)
where T.Value > 0