Advertisement
Pandaaaa906

Untitled

Jul 15th, 2021
4,478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.56 KB | None | 0 0
  1. SELECT
  2. rd32_m.cCode,
  3. rd32_m.dnverifytime,
  4. rd32_d.AutoID,
  5. rd32_d.cInvCode,
  6. rd32_d.cFree1,
  7. rd32_d.iQuantity,
  8. rd32_d.cPosition,
  9. rd32_d.cBatch,
  10.  
  11. rd10_d.cInvCode,
  12. rd10_d.cFree1,
  13. rd10_d.iQuantity,
  14. rd10_d.cPosition,
  15. rd10_d.cBatch
  16.  
  17. FROM rdrecords32 rd32_d
  18.  
  19. LEFT JOIN rdrecord32 rd32_m
  20. ON rd32_d.ID = rd32_m.ID
  21.  
  22. LEFT JOIN [dbo].[rdrecords10] rd10_d
  23. ON rd10_d.isodid=rd32_d.iorderdid
  24.  
  25. LEFT JOIN AA_BatchProperty batch
  26. ON rd32_d.cInvCode = batch.cInvCode
  27. AND rd32_d.cBatch = batch.cBatch
  28.  
  29. WHERE batch.cBatchPropertyGUID IS NULL
  30.  
  31. ORDER BY rd32_m.dnverifytime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement