Advertisement
Guest User

Untitled

a guest
Mar 27th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. DELETE TOP(10000) Object1
  2. FROM Object1
  3. LEFT JOIN Object2
  4. ON
  5. Object1.TID = Object2.TID
  6. WHERE
  7. Object2.TID IS NULL
  8.  
  9. SELECT Object1.TID
  10. FROM Object1
  11. LEFT JOIN Object2
  12. ON
  13. Object1.TID = Object2.TID
  14. WHERE
  15. Object2.TID IS NULL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement