Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- TeO_TreLp
- ,Teo_treNumer
- ,isnull((select StrValue
- from cdn.Split(isnull(teo_opis,''),':',0)
- where id =3),'') AS OPIS_Z_GIDEM
- ,isnull((select LEFT(teo_opis,4)) ,'') as ST
- FROM Cdn.TReOPisy
- WHERE
- isnull((select LEFT(teo_opis,4)) ,'')= '__ŚT'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement