Advertisement
Guest User

Untitled

a guest
Jul 18th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.18 KB | None | 0 0
  1.     Update @TMP Set foo = (Select TOP 1 isNULL (bla)
  2.                 from @TMP T
  3.                 left join table1 tab1 on tab1.id = T.PF and tab1.value = 107   
  4.     where T.PF = @TMP.PF and T.TPB = @TMP.TPB)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement