Advertisement
Guest User

Untitled

a guest
Apr 21st, 2014
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. UPDATE TA
  2. SET TA.Trust_Desc = TB.Trust_Desc
  3. FROM TB
  4. INNER JOIN TA
  5. ON TA.TrustID = TB.TrustID
  6. AND TA.Trust_Desc like ''
  7.  
  8. UPDATE TA
  9. SET TA.Trust_Desc = TB.Trust_Desc
  10. FROM TB
  11. INNER JOIN TA
  12. ON TA.TrustID = TB.TrustID
  13. AND TA.Trust_Desc = ''
  14.  
  15. AND TA.Trust_Desc like ''
  16.  
  17. AND TA.Trust_Desc = ''
  18.  
  19. UPDATE TA
  20. SET TA.Trust_Desc = TB.Trust_Desc
  21. FROM TB
  22. INNER JOIN TA
  23. ON TA.TrustID = TB.TrustID
  24. AND TA.Trust_Desc = ''
  25. AND TB.Trust_Desc <> ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement